 |
6. Models, Templates and Views — How to Tango with Django
Here, we make use of Django’s template language to present the data using if and for control statements. Within the of the page, we test to see if categories - the name of the context variable containing our list - actually contains any categories (i.e.
www.tangowithdjango.com |
 |