modified: make_post_sell/views/coupon.py

This commit is contained in:
Russell Ballestrini 2024-06-25 09:21:27 -04:00
parent 6b041e7934
commit adeedfd9c4

View file

@ -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",
)
)