# -*- coding: utf-8
-from migdal.models import Category, Entry
from menu.helpers import ObjectMenuItem, MenuItem, ModelMenuItem
from django.core.urlresolvers import reverse_lazy
from django.utils.translation import ugettext_lazy as _
-ITEMS = [
+def ITEMS():
+ from migdal.models import Category, Entry
+ return [
ObjectMenuItem(obj_get=lambda: Entry.published_objects.get(slug_pl='o-nas')),
ModelMenuItem(Entry, reverse_lazy('migdal_entry_list_publications'),
field_lookups={'type': 'publications'}, title=_('Publications')),