django-common-helpers 0.6.0

Common things every Django project needs

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in django-common-helpers 0.6.0:

  • Added support for Django 1.5
  • Added fixes in nested inlines
  • Added support for a multi-select checkbox field template and radio button in render_form_field
  • Added Test Email Backend for overwrite TO, CC and BCC fields in all outgoing emails
Read full changelog
send us
an update
MIT/X Consortium License 
Sumit Chachra
ROOT \ Internet \ Django Plugins
django-common-helpers is a Django app that consists of the following things:

- A middleware that makes sure your web-app runs either on or without 'www' in the domain.
- A SessionManagerBase base class, that helps in keeping your session related code object-oriented and clean! See for usage details.
- An EmailBackend for authenticating users based on their email, apart from username.
- Some custom db fields that you can use in your models including a UniqueHashField and RandomHashField.
- Bunch of helpful functions in
- A render_form_field template tag that makes rendering form fields easy and DRY.
- A couple of dry response classes: JsonResponse and XMLResponse in the django_common.http that can be used in views that give json/xml responses.


- Install django_common (ideally in your virtualenv!) using pip or simply getting a copy of the code and putting it in a directory in your codebase.

- Add django_common to your Django settings INSTALLED_APPS:

 # ...

- Add the following to your with appropriate values:


- Add common_settings to your Django settings TEMPLATE_CONTEXT_PROCESSORS:

 # ...

- Add EmailBackend to the Django settings AUTHENTICATION_BACKENDS:


- Add WWWRedirectMiddleware if required to the list of middlewares:

 # ...

This open-source app is brought to you by Tivix, Inc. ( )

Last updated on August 30th, 2012


#Django helpers #common helpers #Django #common #helpers #projects

Add your review!