Commits

Peter Sanchez  committed 2cd86c4

Updated for Django 1.5 compat.

  • Participants
  • Parent commits f660898

Comments (0)

Files changed (2)

File webutils/__init__.py

-__version__ = '0.9.3'
+__version__ = '0.9.4'

File webutils/baseacct/urls.py

 from webutils.baseacct import Config
 from django.contrib.auth import views as auth_views
-from django.views.generic.simple import direct_to_template
+from django.views.generic import TemplateView
 from django.conf.urls.defaults import *
 
 
             'password_change_form': config.get_password_change_form(),
         }, name='baseacct-password-change'),
     url(r'^password_change/done/$',
-        direct_to_template, {
-            'template': 'baseacct/password_change_done.html',
-        }, name='baseacct-password-change-done'),
+        TemplateView.as_view(
+            template_name='baseacct/password_change_done.html'
+        ), name='baseacct-password-change-done'),
     url(r'^reset/$',
         'reset', {
             'template': 'baseacct/reset.html',