From 468530f4f817fae652bbb56fa2cb70e4d6b95ae5 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 22 Sep 2016 13:37:53 +0200 Subject: [PATCH] update top menu --- prawokultury/menu_items.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/prawokultury/menu_items.py b/prawokultury/menu_items.py index b0092f9..3cc7695 100644 --- a/prawokultury/menu_items.py +++ b/prawokultury/menu_items.py @@ -1,11 +1,10 @@ +# -*- coding: utf-8 -*- from migdal.models import Entry -from menu.helpers import ObjectMenuItem, MenuItem -from django.core.urlresolvers import reverse_lazy -from django.utils.translation import ugettext_lazy as _ - +from menu.helpers import ObjectMenuItem ITEMS = [] + def add_entry(**qs): try: entry = Entry.objects.get(**qs) @@ -18,15 +17,13 @@ def add_entry(**qs): add_entry(slug_pl='co') add_entry(slug_pl='gdzie') add_entry(pk=25) -#add_entry(slug_pl='program') -#add_entry(slug_pl='faq') +add_entry(slug_pl='program') +# add_entry(slug_pl='faq') add_entry(slug_pl='wyszehrad') -#add_entry(slug_pl='wez-udzial') +# add_entry(slug_pl='wez-udzial') add_entry(slug_pl='materialy') -#add_entry(pk=25) -#add_entry(slug_pl='warsztaty') +# add_entry(pk=25) +# add_entry(slug_pl='warsztaty') add_entry(slug_pl='poprzednie') add_entry(slug_pl='kontakt') add_entry(slug_pl='faq') - - -- 2.20.1