formproce
This commit is contained in:
@@ -2643,8 +2643,12 @@ class VirtualRaceForm(ModelForm):
|
||||
enddatetime
|
||||
)
|
||||
|
||||
registration_closure = cd['registration_closure']
|
||||
|
||||
try:
|
||||
registration_closure = cd['registration_closure']
|
||||
except KeyError:
|
||||
registration_closure = enddatetime+datetime.timedelta(days=1)
|
||||
cd['registration_closure'] = registration_closure
|
||||
|
||||
registration_form = cd['registration_form']
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user