from django.conf.urls import patterns, url
from accounts.views import UserProfileView, DeleteAccountView

from django.contrib.auth.views import password_change

urlpatterns = patterns(
    '',
    url(r'^profile/', UserProfileView.as_view(), name="account_profile"),
    url(r'^delete/', DeleteAccountView.as_view(), name="account_delete"),
    url(r'^change_pw/', password_change, {
        'template_name': 'registration/password_change.html',
        'post_change_redirect': '/account/profile/', },
        name="password_change"), )

@@ -1,20 +1,44 @@
+# -*- coding: utf-8 -*-%0A
 from django.conf.url

add encoding marker