fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggregation doesn't work with generic relations.
[prawokultury.git]
/
prawokultury
/
menu_items.py
diff --git
a/prawokultury/menu_items.py
b/prawokultury/menu_items.py
index
8f5d806
..
1da9c69
100644
(file)
--- a/
prawokultury/menu_items.py
+++ b/
prawokultury/menu_items.py
@@
-14,8
+14,7
@@
ITEMS.append(ObjectMenuItem(
ITEMS.append(ModelMenuItem(Entry, reverse_lazy('migdal_entry_list_publications'),
field_lookups={'type': 'publications'}, title=_('Publications')))
ITEMS.append(ModelMenuItem(Entry, reverse_lazy('migdal_entry_list_publications'),
field_lookups={'type': 'publications'}, title=_('Publications')))
-ITEMS.append(MenuItem(reverse_lazy('events'), _('Events'),
- more_urls=(reverse_lazy('events_past'),)))
+ITEMS.append(MenuItem(reverse_lazy('events'), _('Events')))
ITEMS.append(ObjectMenuItem(
obj_get=lambda:Category.objects.get(slug_pl='stanowisko'),
ITEMS.append(ObjectMenuItem(
obj_get=lambda:Category.objects.get(slug_pl='stanowisko'),
@@
-23,12
+22,7
@@
ITEMS.append(ObjectMenuItem(
title=_('Positions')
))
title=_('Positions')
))
-ITEMS.append(MenuItem(reverse_lazy('questions_form'), _('First aid'),
- more_urls=(
- reverse_lazy('questions'),
- #reverse_lazy('questions_question'),
- reverse_lazy('questions_thanks'),
- )))
+ITEMS.append(MenuItem(reverse_lazy('questions'), _('First aid')))
ITEMS.append(ObjectMenuItem(
obj_get=lambda:Entry.published_objects.get(slug_pl='pierwsza-pomoc'),
ITEMS.append(ObjectMenuItem(
obj_get=lambda:Entry.published_objects.get(slug_pl='pierwsza-pomoc'),