mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-12 03:01:17 +00:00
Update file views.py
This commit is contained in:
parent
b2ccc4aede
commit
05e21ed229
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user