# HG changeset patch # User ymh # Date 1354632101 -3600 # Node ID 37ce8f29b6ae59a1b0f7ed88cddb479e127e5663 # Parent 6b79d542440771464a8cb6a4a6f927bc614125de# Parent 10389426d9c08ce30e9bc7108b830416f79cad2e Merge with 10389426d9c08ce30e9bc7108b830416f79cad2e diff -r 6b79d5424407 -r 37ce8f29b6ae src/ldtplatform/settings.py --- a/src/ldtplatform/settings.py Tue Dec 04 10:19:44 2012 +0100 +++ b/src/ldtplatform/settings.py Tue Dec 04 15:41:41 2012 +0100 @@ -147,6 +147,7 @@ 'guardian', 'sorl.thumbnail', 'tastypie', + 'hashcut', ) AUTH_PROFILE_MODULE = 'user.UserProfile' diff -r 6b79d5424407 -r 37ce8f29b6ae src/ldtplatform/templates/registration/login.html --- a/src/ldtplatform/templates/registration/login.html Tue Dec 04 10:19:44 2012 +0100 +++ b/src/ldtplatform/templates/registration/login.html Tue Dec 04 15:41:41 2012 +0100 @@ -1,32 +1,30 @@ {% extends "registration/base.html" %} {% load i18n %} -{% block js_declaration %} -{{ block.super }} -{% endblock %} +{% load absstatic %} +{% load static %} {% block css_import %} - {{ block.super }} - - + {{ block.super }} + + {% endblock %} - {% block login %} {% endblock %} {% block content_title %}{% trans 'Log in' %}{% endblock %} {% block iricontent %} {% if form.errors %} -

{% trans "Sorry, that's not a valid username or password." %}

+

{% trans "Sorry, that's not a valid username or password." %}

{% endif %} -
+
-
+
{% csrf_token %} -
    - {{form.as_ul}} -
+
    + {{form.as_ul}} +
@@ -34,21 +32,23 @@
-
+ -
+
{% endblock %} diff -r 6b79d5424407 -r 37ce8f29b6ae src/ldtplatform/urls.py --- a/src/ldtplatform/urls.py Tue Dec 04 10:19:44 2012 +0100 +++ b/src/ldtplatform/urls.py Tue Dec 04 15:41:41 2012 +0100 @@ -45,6 +45,7 @@ #(r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}), (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict), + (r'^hashcut/', include('hashcut.urls')), ) urlpatterns += staticfiles_urlpatterns()