X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d0ab1d8908cadac9f51a17e2fe9e1193f14e28cc..7aaf5361e7b27567ee43bff98d44f9c66ab12943:/wolnelektury/urls.py?ds=sidebyside diff --git a/wolnelektury/urls.py b/wolnelektury/urls.py index 4f9d4ed73..b576a2710 100644 --- a/wolnelektury/urls.py +++ b/wolnelektury/urls.py @@ -48,4 +48,12 @@ urlpatterns = patterns('', url(r'^%s(?P.*)$' % settings.STATIC_URL[1:], 'django.views.static.serve', {'document_root': settings.STATIC_ROOT, 'show_indexes': True}), url(r'^$', 'django.views.generic.simple.redirect_to', {'url': 'katalog/'}), + url(r'^i18n/', include('django.conf.urls.i18n')), ) + +if 'rosetta' in settings.INSTALLED_APPS: + urlpatterns += patterns('', + url(r'^rosetta/', include('rosetta.urls')), + ) + +handler500 = 'views.server_error'