--- 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>