diff --git a/make_post_sell/views/coupon.py b/make_post_sell/views/coupon.py index 54f858d..0eb3976 100644 --- a/make_post_sell/views/coupon.py +++ b/make_post_sell/views/coupon.py @@ -73,7 +73,7 @@ def coupon_new(request): if expiration_datetime > MAX_EXPIRATION_DATE: request.session.flash( ( - f"Expiration date is too far in the future. The maximum allowed date is {{ MAX_EXPIRATION_DATE.strftime('%Y-%m-%d') }}.", + f"Expiration date is too far in the future. The maximum allowed date is { MAX_EXPIRATION_DATE.strftime('%Y-%m-%d') }.", "error", ) )