X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/5af5cc14f6b2ecddcad714053e048e39d52ca02d..cdcbbaea50438faa14771ee5e716f5ee71180ae3:/migdal/urls.py diff --git a/migdal/urls.py b/migdal/urls.py index 3a58123..49a4346 100644 --- a/migdal/urls.py +++ b/migdal/urls.py @@ -7,7 +7,7 @@ from django.utils.translation import ugettext_lazy as _ from django.utils.translation import string_concat from migdal import feeds, app_settings from migdal.views import SearchPublishedView -from migdal.helpers import i18n_patterns +from fnpdjango.utils.urls import i18n_patterns pats = [] for t in app_settings.TYPES: @@ -28,7 +28,7 @@ for t in app_settings.TYPES: urlpatterns = i18n_patterns('', # main page - url(r'^$', 'migdal.views.entry_list', name='migdal_main'), + url(r'^$', 'migdal.views.main', name='migdal_main'), url(r'^rss.xml$', feeds.EntriesFeed(), name='migdal_main_feed'), # submit new entry url(string_concat(r'^', _('submit'), r'/$'), 'migdal.views.submit', name='migdal_submit'),