Monday, February 6, 2012

Release: django-email-as-username

Okay, I know there are a handful of other apps that already do this, but I wasn't quite happy with anything that was out there.

I've pushed the django-email-as-username package to PyPI.

Source and docs available here: https://github.com/dabapps/django-email-as-username

I think it's pretty comprehensive...

1. Provides an email auth backend and helper functions for creating users.
2. Patches the Django admin to handle email based user authentication.
3. Overides the `createsuperuser` command to create users with email only.  (Eg during initial `syncdb`)
4. Treats email authentication as case-insensitive.

There's a few outstanding tickets for extra little tweaks to improve things even more, such as providing a migration for adding it to existing projects and so on.
Would appreciate any forks/ideas for improvements etc.etc.

Cheers,

  Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/y8iZz4io3gUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment