Bump django-formtools from 2.3 to 2.4 in /src (#2839)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
dependabot[bot]
2022-11-23 16:11:35 +01:00
committed by GitHub
parent 3b1cd8e659
commit 0b0ecf22bf
2 changed files with 5 additions and 2 deletions

View File

@@ -257,7 +257,10 @@ class EventWizard(SafeSessionWizardView):
def done(self, form_list, form_dict, **kwargs):
foundation_data = self.get_cleaned_data_for_step('foundation')
basics_data = self.get_cleaned_data_for_step('basics')
copy_data = self.get_cleaned_data_for_step('copy')
try:
copy_data = self.get_cleaned_data_for_step('copy')
except KeyError:
copy_data = None
with transaction.atomic(), language(basics_data['locale']):
event = form_dict['basics'].instance

View File

@@ -174,7 +174,7 @@ setup(
'django-countries==7.4.*',
'django-filter==22.1',
'django-formset-js-improved==0.5.0.3',
'django-formtools==2.3',
'django-formtools==2.4',
'django-hierarkey==1.1.*',
'django-hijack==3.2.*',
'django-i18nfield==1.9.*,>=1.9.4',