[#28736373] fixed problem with not being able to select no edition
parent
4d1a1aba35
commit
08290c0128
|
@ -204,7 +204,7 @@ def getManageCampaignForm ( instance, data=None, *args, **kwargs ):
|
||||||
error_messages={'required': 'You must enter the email associated with your Paypal account.'},
|
error_messages={'required': 'You must enter the email associated with your Paypal account.'},
|
||||||
)
|
)
|
||||||
target = forms.DecimalField( min_value= D(settings.UNGLUEIT_MINIMUM_TARGET), error_messages={'required': 'Please specify a target price.'} )
|
target = forms.DecimalField( min_value= D(settings.UNGLUEIT_MINIMUM_TARGET), error_messages={'required': 'Please specify a target price.'} )
|
||||||
edition = forms.ModelChoiceField(get_queryset(), widget=RadioSelect(),empty_label='no edition selected')
|
edition = forms.ModelChoiceField(get_queryset(), widget=RadioSelect(),empty_label='no edition selected',required = False,)
|
||||||
minimum_target = settings.UNGLUEIT_MINIMUM_TARGET
|
minimum_target = settings.UNGLUEIT_MINIMUM_TARGET
|
||||||
latest_ending = (timedelta(days=int(settings.UNGLUEIT_LONGEST_DEADLINE)) + now()).date
|
latest_ending = (timedelta(days=int(settings.UNGLUEIT_LONGEST_DEADLINE)) + now()).date
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue