python - Django - present current date and time in template -


the tittle pretty self explanatory. how can 1 present current data , time in django's template?

try using built-in django template tags , filters: https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#now

example: it {% "js f y h:i" %}


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -