-ITEMS.append(ObjectMenuItem(Category.objects.get(slug_pl='stanowisko'),
- rev_lookups={Entry: 'categories'}, title=_('Positions')))
-#CategoryMenuItem(Category.objects.get(slug_pl='stanowisko'),
-# title=_('Positions')),
-
-ITEMS.append(ObjectMenuItem(Entry.objects.get(slug_pl='pierwsza-pomoc'),
- title=_('First aid in copyright')))
-
+ITEMS.append(ObjectMenuItem(
+ obj_get=lambda:Category.objects.get(slug_pl='stanowisko'),
+ rev_lookups={Entry: 'categories'},
+ 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(ObjectMenuItem(
+ obj_get=lambda:Entry.published_objects.get(slug_pl='pierwsza-pomoc'),
+ title=_('Guide')
+))