# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from fnpdjango.utils.text.textilepl import textile_pl
+from migdal import EntryType
+from django.utils.translation import ugettext_lazy as _
HONEYPOT_FIELD_NAME = 'miut'
PAGINATION_INVALID_PAGE_RAISES_404 = True
MARKUP_FIELD_TYPES = (
('textile_pl', textile_pl),
)
+
+MIGDAL_TYPES = (
+ EntryType('news', _('news'), commentable=False, on_main=True, promotable=True),
+ EntryType('publications', _('publications'), commentable=False),
+ EntryType('info', _('info'), commentable=False),
+ EntryType('event', _('events'), commentable=False),
+)
from django.contrib import admin
from django.views.generic import RedirectView
import django.views.static
+from migdal.urls import urlpatterns as migdal_urlpatterns
import catalogue.views
import picture.views
from . import views
url(r'^error-test/$', views.exception_test),
# url(r'^post-test/$', views.post_test),
]
+
+urlpatterns += migdal_urlpatterns