fixed a typo and set the settings required for django registration
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 10:02:02 +0530
changeset 260 8b891483e052
parent 259 3efb40900b87
child 261 d736049a518f
fixed a typo and set the settings required for django registration
settings.py
templates/registration/registration_form.html
--- 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 <admin@fossee.in>'
+
--- 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 %}
 <form action="/accounts/register/" method="post">
-{% csrf_toekn %}
+{% csrf_token %}
 {{ form.as_p }}
 <input type="submit" value="Submit" />
 </form>