Snippet List
The models in the Site Administration screen are listed alphabetically. If you need to order them differently, say, in the order of creation of objects or some other 'workflow' criterion, you can use the instructions in this snippet.
This code works with Django-registration app found here: http://code.google.com/p/django-registration/
If you plan to use this django-registrtion code in your website to allow user registration but do not run your own email server,this snippet can be handy.
It uses gmail server to send out email.
You have to install libgmail module first.
Add two lines to your `settings.py`
GMAIL_USERNAME = '[email protected]'
GMAIL_PASSWORD = 'your_password'
Change models.py - create_inactive_user(...) as given above
- registration
- email
- gmail
- django-registration
btbytes has posted 2 snippets.