huDjango

huDjango contains a collection of small extensions th the Django Web framework we use at HUDORA.

  • auth.backends.EmailBackend - Authenticate against django.contrib.auth.models.User the same way Django does by default except that the users can use their E-Mail address instead of the username to authenticate.
  • auth.backends.ZimbraBackend - Authenticate against a Zimbra Server via LDAP. Users have to use their full E-Mail adress and Zimbra Passwort to log in. The Backend creates a new entry in the Django User Database if authentication against Zimbra is successfull but no matching E-Mail in Django adress is found.
  • fields.scalingimagefield - images with automatic scaling
  • fields.defaulting - Django fields with more elaborate default values
  • templatetags.hudjango - format_address tag for formating the AddressProtocol, html_euro, html_cent, g2kg and link_object tags.

Download

You can get huDjango at http://cybernetics.hudora.biz/dist/huDjango/ or at the Python Cheeseshop.

Changes

  • 0.74: template tags / filters now work with Djangos new autoescape functionality. Needs Django version > r6844.
  • 0.73: Extracted templatetags from the internal MoftS codebase.
  • 0.72: removed hudjango.fields.audit , support for Django Revision 7403.

Links