Prepare weekly reports
This commit is contained in:
parent
24ac3ce45f
commit
33806967c8
9 changed files with 254 additions and 199 deletions
|
|
@ -41,6 +41,8 @@ class UserCreateView(CreateView):
|
|||
context = super().get_context_data(**kwargs)
|
||||
context["profile_form"] = self.second_form(self.request.POST if self.request.POST else None)
|
||||
del context["profile_form"].fields["section"]
|
||||
del context["profile_form"].fields["report_frequency"]
|
||||
del context["profile_form"].fields["last_report"]
|
||||
|
||||
return context
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue