From 859199f9ad567aba25f207fe915c878321473bbc Mon Sep 17 00:00:00 2001
From: Nishanth Amuluru
Date: Fri, 7 Jan 2011 10:02:02 +0530
Subject: fixed a typo and set the settings required for django registration

---
 settings.py                                   | 5 +++++
 templates/registration/registration_form.html | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/settings.py b/settings.py
index af5bf90..f3f39a0 100755
--- a/settings.py
+++ b/settings.py
@@ -100,3 +100,8 @@ INSTALLED_APPS = (
 )
 
 AUTH_PROFILE_MODULE = 'profile.Profile'
+
+#django-registration
+ACCOUNT_ACTIVATION_DAYS = 7
+DEFAULT_FROM_EMAIL = 'Admin <admin@fossee.in>'
+
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html
index 37ee9d9..2b8b9aa 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -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>
-- 
cgit