diff --git a/apps/registration/forms.py b/apps/registration/forms.py index 72cd922..9f1a2c6 100644 --- a/apps/registration/forms.py +++ b/apps/registration/forms.py @@ -10,6 +10,7 @@ from note_kfet.inputs import AmountInput class SignUpForm(UserCreationForm): + usable_password = None """ Pre-register users with all information """ diff --git a/apps/registration/views.py b/apps/registration/views.py index a8614df..0b733ae 100644 --- a/apps/registration/views.py +++ b/apps/registration/views.py @@ -41,7 +41,6 @@ class UserCreateView(CreateView): def get_context_data(self, **kwargs): 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"]