500 error page
[wolnelektury.git] / wolnelektury / urls.py
index 3a0b2ac..b576a27 100644 (file)
@@ -50,3 +50,10 @@ urlpatterns = patterns('',
     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'