Skip to main content

Does less! Loosely coupled mini-apps for django.

Project description

This is a set of nano-size tools and apps for Django 1.11 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

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.

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

Version:

1.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nano-1.1.0.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nano-1.1.0-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file nano-1.1.0.tar.gz.

File metadata

  • Download URL: nano-1.1.0.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nano-1.1.0.tar.gz
Algorithm Hash digest
SHA256 41d9e484db08c0f63deab1ed3b09592b20a941e5605ecccd68055a8740ccf76f
MD5 9cc48464946e3b0933c8e6d4ef0d9e4c
BLAKE2b-256 41ebba60610f113aacbf74b1322f504ce540d73de9828a7c25c4c3e47bcad39a

See more details on using hashes here.

File details

Details for the file nano-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: nano-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nano-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c90ec7b7bec942273c709f57163aca603f79a360ef585e97bbc8494ea51270
MD5 5ce6f13e9d9ff0b60e44a6a4340c2109
BLAKE2b-256 ebb7d961406c07d3fdbd4140ace32ac4fbf752f4609da972a1d307c00821ef10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page