check date on template django

Solutions on MaxInterview for check date on template django by the best coders in the world

showing results for - "check date on template django"
Tommie
17 Feb 2016
1{% now "Y-m-d" as todays_date %}
2{% if todays_date < someday|date:"Y-m-d" %}
3   <h1>It's not too late!</h1>
4{% endif %}