fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update remind me
[prawokultury.git]
/
prawokultury
/
menu_items.py
diff --git
a/prawokultury/menu_items.py
b/prawokultury/menu_items.py
index
5fa4298
..
3cc7695
100644
(file)
--- a/
prawokultury/menu_items.py
+++ b/
prawokultury/menu_items.py
@@
-1,11
+1,10
@@
+# -*- coding: utf-8 -*-
from migdal.models import Entry
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 = []
ITEMS = []
+
def add_entry(**qs):
try:
entry = Entry.objects.get(**qs)
def add_entry(**qs):
try:
entry = Entry.objects.get(**qs)
@@
-17,8
+16,14
@@
def add_entry(**qs):
add_entry(slug_pl='co')
add_entry(slug_pl='gdzie')
add_entry(slug_pl='co')
add_entry(slug_pl='gdzie')
+add_entry(pk=25)
add_entry(slug_pl='program')
add_entry(slug_pl='program')
-add_entry(slug_pl='media')
-ITEMS.append(MenuItem(reverse_lazy('contact_form', args=['register']), _('Registration')))
+# add_entry(slug_pl='faq')
+add_entry(slug_pl='wyszehrad')
+# add_entry(slug_pl='wez-udzial')
add_entry(slug_pl='materialy')
add_entry(slug_pl='materialy')
+# add_entry(pk=25)
+# add_entry(slug_pl='warsztaty')
+add_entry(slug_pl='poprzednie')
add_entry(slug_pl='kontakt')
add_entry(slug_pl='kontakt')
+add_entry(slug_pl='faq')