--- a/templates/registration/login.html Fri Jan 07 11:00:22 2011 +0530
+++ b/templates/registration/login.html Fri Jan 07 11:07:21 2011 +0530
@@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<form action="/accounts/login/" method="post">
+{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Login" />
</form>
--- a/urls.py Fri Jan 07 11:00:22 2011 +0530
+++ b/urls.py Fri Jan 07 11:07:21 2011 +0530
@@ -21,4 +21,6 @@
url(r'^accounts/register/$', register,
{'form_class': CustomRegistrationForm},
name='registration_register'),
+
+ (r'^accounts/', include('registration.urls')),
)