Skip to content
Snippets Groups Projects

Update formtools and dependencies

Merged Tom Teichler requested to merge test-formtools into master
1 file
+ 8
2
Compare changes
  • Side-by-side
  • Inline
@@ -540,10 +540,16 @@ class RegisterEventWizardView(SessionWizardView):
def done(self, form_list, **kwargs):
event = Event.objects.get(slug=self.kwargs["slug"])
cleaned_data_email = self.get_cleaned_data_for_step("email")
try:
cleaned_data_email = self.get_cleaned_data_for_step("email")
except KeyError: # FIXME
cleaned_data_email = False
cleaned_data_contact_details = self.get_cleaned_data_for_step("contact_details")
cleaned_data_guardians = self.get_cleaned_data_for_step("guardians")
cleaned_data_register = self.get_cleaned_data_for_step("register")
try:
cleaned_data_register = self.get_cleaned_data_for_step("register")
except KeyError: # FIXME
cleaned_data_register = False
cleaned_data_additional = self.get_cleaned_data_for_step("additional")
cleaned_data_financial = self.get_cleaned_data_for_step("financial")
cleaned_data_consent = self.get_cleaned_data_for_step("consent")
Loading