1
0
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:
thomasl 2025-02-09 15:51:05 +01:00
parent b2ccc4aede
commit 05e21ed229

View File

@ -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