2013-09-29 15:37:58 +02:00
|
|
|
from django.conf.urls import patterns, url
|
2013-10-03 19:26:39 +02:00
|
|
|
from django.contrib.auth.views import password_change
|
|
|
|
|
2013-10-17 20:50:44 +00:00
|
|
|
from .views import UserProfileView
|
2013-09-29 01:21:44 +02:00
|
|
|
|
2013-09-28 17:17:15 +02:00
|
|
|
|
2013-09-29 01:21:44 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2013-09-28 17:17:15 +02:00
|
|
|
url(r'^profile/', UserProfileView.as_view(), name="account_profile"),
|
|
|
|
url(r'^change_pw/', password_change, {
|
2013-09-29 01:21:44 +02:00
|
|
|
'template_name': 'registration/password_change.html',
|
|
|
|
'post_change_redirect': '/account/profile/', },
|
|
|
|
name="password_change"), )
|