1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-11 18:51:19 +00:00

Update file views.py

This commit is contained in:
thomasl 2025-02-09 15:26:39 +01:00
parent 73aa0098bf
commit f63e5dcb5a

View File

@ -74,7 +74,7 @@ class UserUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, UpdateView):
#if PermissionBackend.check_perm(self.request, "member.change_profile", context['user_object'].profile):
# context['profile_form'] = self.profile_form(instance=context['user_object'].profile,
data=self.request.POST if self.request.POST else None)
# data=self.request.POST if self.request.POST else None)
# if not self.object.profile.report_frequency:
# del context['profile_form'].fields["last_report"]