Commit 5b9b20be authored by Okhin's avatar Okhin
Browse files

Fixing the logns URL

parent ee51284e
......@@ -132,9 +132,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles',
'django_comments',
'tinymce',
#'registration',
'bt',
#'babeldjango',
'captcha',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
......
......@@ -4,12 +4,12 @@
{% block title %}Login{% endblock %}
{% block content %}
<form action="{% url django.contrib.auth.views.login %}" method="post">{% csrf_token %}
<form action="{% url "login" %}" method="post">{% csrf_token %}
{{form.as_p}}
<input type="hidden" name="next" value="{{next}}" />
<input type="submit" name="login" value="Login" />
</form>
<p>[<a href="{% url django.contrib.auth.views.password_reset %}">{% trans "Password reset" %}</a>]</p>
<p>[<a href="{% url "password_reset" %}">{% trans "Password reset" %}</a>]</p>
{% endblock %}
......@@ -4,7 +4,7 @@
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid token=token %}
{{ protocol }}://{{ domain }}{% url "password_reset_confirm" uidb36=uid token=token %}
{% endblock %}
{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
......
......@@ -65,7 +65,7 @@ urlpatterns = patterns('',
url(r'^accounts/logout$',
'django.contrib.auth.views.logout', {'next_page': '/'}),
url(r'^accounts/',
include('registration.urls')),
include('django.contrib.auth.urls')),
url(r'^comments/',
include('django_comments.urls')),
url(r'^about/$',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment