DEV Community

Discussion on: Using Context processor in Django to create dynamic footer

 
harveyhalwin profile image
Heinek Halwin

The footer is just an example of using context processor. But I am interested to know an alternate method. Can you write it elsewhere and send me the link. I’ll add it to the blog.

Thread Thread
 
anilbhattaraitoronto profile image
Anil Bhattarai

{percent now 'Y' percent}
replace 'percent' with %
the now method with 'Y' returns the given year in the template