Home » Tag Archives:django

Tag Archives: django

How to compare dates in Django

January 30, 2018 Python Leave a comment

Questions: I would like to compare a date to the current date in Django, preferably in the template, but it is also possible to do before rendering the template. If the date has already passed, I want...