0.3.0
This release requires running migrations and updating your settings.py.
configuration changes
settings.py
django.contrib.sites should be added in INSTALLED_APPS:
INSTALLED_APPS = [
# ...
'django.contrib.sites',
# ...
And the following settings should be added too:
LOGIN_REDIRECT_URL = 'labadmin-user-profile'
# how many days the registration link will be valid
ACCOUNT_ACTIVATION_DAYS = 2
# id of default django.contrib.site.models.Site
SITE_ID = 1
# email will be sent with this address in the from field
DEFAULT_FROM_EMAIL = 'myemail@mydomain.com'
urls.py
The django-registration urls should be added to the project urls.py:
url(r'^accounts/', include('registration.backends.hmac.urls')),
User registration workflow
This release permits users to register themselves and add fill their profile informations. The feature requires a working local smtp server, instructions for postfix are available in the tutorial.