mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-03-16 10:47:31 +00:00
linters
This commit is contained in:
parent
dc56deaf85
commit
983d7ec052
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user