modified: make_post_sell/views/coupon.py
This commit is contained in:
parent
6b041e7934
commit
adeedfd9c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue