- if self.cleaned_data['amount'] < settings.FUNDING_MIN_AMOUNT:
- min_amount = settings.FUNDING_MIN_AMOUNT
- if isinstance(settings.FUNDING_MIN_AMOUNT, float):
- min_amount = formats.number_format(settings.FUNDING_MIN_AMOUNT, 2)
+ if self.cleaned_data['amount'] < app_settings.MIN_AMOUNT:
+ min_amount = app_settings.MIN_AMOUNT
+ if isinstance(min_amount, float):
+ min_amount = formats.number_format(min_amount, 2)