# HG changeset patch # User Nishanth Amuluru # Date 1294374722 -19800 # Node ID 8b891483e05267cf7ec37e5269ba07ec45bafe52 # Parent 3efb40900b87a5d775b0d9b33ea518e1f2a92fd3 fixed a typo and set the settings required for django registration diff -r 3efb40900b87 -r 8b891483e052 settings.py --- a/settings.py Fri Jan 07 09:57:52 2011 +0530 +++ b/settings.py Fri Jan 07 10:02:02 2011 +0530 @@ -100,3 +100,8 @@ ) AUTH_PROFILE_MODULE = 'profile.Profile' + +#django-registration +ACCOUNT_ACTIVATION_DAYS = 7 +DEFAULT_FROM_EMAIL = 'Admin ' + diff -r 3efb40900b87 -r 8b891483e052 templates/registration/registration_form.html --- a/templates/registration/registration_form.html Fri Jan 07 09:57:52 2011 +0530 +++ b/templates/registration/registration_form.html Fri Jan 07 10:02:02 2011 +0530 @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% block content %}
-{% csrf_toekn %} +{% csrf_token %} {{ form.as_p }}