diff --git a/nsupdate/accounts/views.py b/nsupdate/accounts/views.py index 14d3716..015002a 100644 --- a/nsupdate/accounts/views.py +++ b/nsupdate/accounts/views.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from django.views.generic import TemplateView, UpdateView +from django.views.generic import UpdateView from django.contrib.auth.models import User from django.core.urlresolvers import reverse @@ -22,12 +22,3 @@ class UserProfileView(UpdateView): context = super(UserProfileView, self).get_context_data(*args, **kwargs) context['nav_user_profile'] = True return context - - -class PasswordChangeView(TemplateView): - template_name = "registration/password_change.html" - - def get_context_data(self, *args, **kwargs): - context = super(PasswordChangeView, self).get_context_data(*args, **kwargs) - context['nav_change_password'] = True - return context