{% extends "base.html" %}
+{% block title %}Login{% endblock %}
+
{% block content %}
<h1 class="pagetitle">Login</h1>
- <form enctype="multipart/form-data" action="/login/" method="post">
+ <form enctype="multipart/form-data" action="{% url login %}?{{ request.META.QUERY_STRING }}" method="post" class="cssform">
{{ aform.as_p }}
<input type="submit" value="Submit" />
</form>