Commit c0fe6baba2eb16de9573d012e26e5760bc3266db
1 parent
d90b319d
Exists in
master
and in
5 other branches
[Issue #429]
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
users/views.py
@@ -152,6 +152,10 @@ class Change_password(generic.TemplateView): | @@ -152,6 +152,10 @@ class Change_password(generic.TemplateView): | ||
152 | class Remove_account(generic.TemplateView): | 152 | class Remove_account(generic.TemplateView): |
153 | template_name = 'users/remove_account.html' | 153 | template_name = 'users/remove_account.html' |
154 | 154 | ||
155 | + def get_context_data (self, **kwargs): | ||
156 | + context = super(Remove_account, self).get_context_data(**kwargs) | ||
157 | + context['title'] = "Remove Account | Amadeus" | ||
158 | + return context | ||
155 | 159 | ||
156 | class UpdateProfile(LoginRequiredMixin, generic.edit.UpdateView): | 160 | class UpdateProfile(LoginRequiredMixin, generic.edit.UpdateView): |
157 | login_url = reverse_lazy("core:home") | 161 | login_url = reverse_lazy("core:home") |