django template current year code example Example: django template tag to display current year {% now "Y" %}