removed unused PasswordChangeView class
This commit is contained in:
parent
2eb13ee3b8
commit
b3ef4b0ce7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user