1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-03-16 10:47:31 +00:00
This commit is contained in:
thomasl 2025-02-13 21:35:29 +01:00
parent dc56deaf85
commit 983d7ec052

View File

@ -77,7 +77,7 @@ class UserUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
data=self.request.POST if self.request.POST else None)
if not self.object.profile.report_frequency:
del profile_form.fields["last_report"]
del profile_form.fields["last_report"]
fields_to_check = list(profile_form.fields.keys())
fields_modifiable = False