mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-22 18:38:23 +02:00
Update file views.py
This commit is contained in:
@ -94,9 +94,6 @@ class UserUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
|
|||||||
|
|
||||||
context['profile_form'] = profile_form
|
context['profile_form'] = profile_form
|
||||||
|
|
||||||
if not self.object.profile.report_frequency:
|
|
||||||
del context['profile_form'].fields["last_report"]
|
|
||||||
|
|
||||||
|
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user