Thomas Waldmann ac4860f54a pep8 fixes
2013-09-29 01:23:27 +02:00

13 lines
453 B
Python

from django.conf.urls import patterns, include, url
from accounts.views import UserProfileView
from django.contrib.auth.views import password_change
urlpatterns = patterns(
'',
url(r'^profile/', UserProfileView.as_view(), name="account_profile"),
url(r'^change_pw/', password_change, {
'template_name': 'registration/password_change.html',
'post_change_redirect': '/account/profile/', },
name="password_change"), )