Skip to main content

Nano tools

This is a set of nano-size tools and apps for Django 5.2 and later.

Currently included:

activation

A place to store activation-codes for e.g. authentication

badge

User-badges worth certain points ala. StackOverflow

blog

A very basic blog-app

comments

Unmoderated comments for logged-in users

chunk

Templates stored in the database

faq

Just about as simple a FAQ as is possible

link

Store an url, with a an optional title and category

privmsg

Private messages with separate archives for sent an received

user

A very basic user-registration- and password-handling app/tool

tools

Utility-functions used by the above apps

Installation

See INSTALL.txt for installation-instructions and TODO.txt for what’s missing.

Usage

Common for all apps

Append nano.<subapp> to your INSTALLED_APPS, where subapp is any of the tools listed above except tools. For most apps there is one or more models supplied, so remember to migrate.

blog

Blog entries can be tagged using django-taggit if it is in INSTALLED_APPS and NANO_BLOG_USE_TAGS is set to True in settings.

chunk

Add ‘nano.chunk.loader.Loader’ to TEMPLATE_LOADERS.

user

Doesn’t have any models so just hook up the views in an urls.py:

  • signup()

  • password_change()

  • password_reset()

Settings for user

NANO_USER_EMAIL_SENDER

The From:-address on a password-reset email. If unset, no email is sent.

Default: Not set

NANO_USER_TEST_USERS

Special-cased usernames for live testing.

Default: ()

NANO_USER_BLOG_TEMPLATE

Template used for auto-blogging new users.

Default: blog/new_user.html

Development

Activate and fill a virtulenv in your preferred manner.

Run management commands via:

PYTHONPATH="." DJANGO_SETTINGS_MODULE=devsettings django-admin CMD

Run tests via:

python runtests.py
Version:

1.2.0

Metadata

Release files for nano 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nano 1.2.0
File Size Uploaded
nano-1.2.0.tar.gz 34.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nano 1.2.0
File Interpreter ABI Platform
nano-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 98.0 kB

Release files / nano-1.2.0.tar.gz

Download URL nano-1.2.0.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
abca7e9b59116058b4e39e78063d7eb9f1a2fe6962d6f812cf28b58693c18a71
BLAKE2b-256 checksum
How to use checksums
552db1e014a9b1c77e5280dec07fdeb6a9853194f699fd4eccde814a84a87a58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / nano-1.2.0-py3-none-any.whl

Download URL nano-1.2.0-py3-none-any.whl
Size 63.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c2fcfebb9460043e7c14b5a4039af166b2e5c3c8324d00bd336771e83232be0
BLAKE2b-256 checksum
How to use checksums
c9f043fe3ff9554ca133ec82ac5ff6c5283ebe5fb0cee7d425e4cea83f83716b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.10.0

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

0.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page