Skip to main content

Home/ Django Ressources/ Group items tagged templates

Rss Feed Group items tagged

PhilGo20

Django snippets: Smart {% if %} template tag - 0 views

  •  
    Save this as smart_if.py in the templatetags folder of one of your apps. Then a simple {% load smart_if %} replaces the boring built-in Django {% if %} template with the new smart one.
PhilGo20

Multi-language support in a Django project « Development Doodles - 0 views

  •  
    The Django documentation on internationalization describes how to add multi-language support to your application. As it took me a few tries to get it right, here's a rundown of what I did to add it to an existing project.
1 - 2 of 2
Showing 20 items per page