T?m?
+ {% for category in categories %} +{{ category.name }}
+-
+ {% for sub_category in category.subcategory_set.all %}
+
- {{ sub_category.name }} + {% endfor %} +
From oi-commits at pardus.org.tr Wed Jun 4 15:51:14 2008 From: oi-commits at pardus.org.tr (oi-commits at pardus.org.tr) Date: Wed, 4 Jun 2008 15:51:14 +0300 (EEST) Subject: [Oi-commits] r1457 - in trunk: tema templates/tema Message-ID: <20080604125114.A654413840A0@liste.pardus.org.tr> Author: jnmbk Date: Wed Jun 4 15:51:14 2008 New Revision: 1457 Modified: trunk/tema/models.py trunk/templates/tema/base.html trunk/templates/tema/themeitem_detail.html trunk/templates/tema/themeitem_list.html Log: some cosmetics Modified: trunk/tema/models.py ================================================================= --- trunk/tema/models.py (original) +++ trunk/tema/models.py Wed Jun 4 15:51:14 2008 @@ -47,7 +47,7 @@ class Admin: list_display = ("name", "parent") search_fields = ["name", "parent"] - ordering=["parent"] + ordering=["name"] class Meta: verbose_name="Alt Kategori" Modified: trunk/templates/tema/base.html ================================================================= --- trunk/templates/tema/base.html (original) +++ trunk/templates/tema/base.html Wed Jun 4 15:51:14 2008 @@ -29,9 +29,29 @@ {% block ust_menu %} {% endblock %} -