diff --git a/nsupdate/accounts/urls.py b/nsupdate/accounts/urls.py index de9374c..07659c5 100644 --- a/nsupdate/accounts/urls.py +++ b/nsupdate/accounts/urls.py @@ -7,7 +7,4 @@ from .views import UserProfileView 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"), ) +) diff --git a/nsupdate/templates/base.html b/nsupdate/templates/base.html index 815d277..52ffbfd 100644 --- a/nsupdate/templates/base.html +++ b/nsupdate/templates/base.html @@ -62,7 +62,7 @@ {{ request.user.username }}