]> git.openstreetmap.org Git - osqa.git/blobdiff - urls.py
fix openid login callback, change the forward URL after authentication if there are...
[osqa.git] / urls.py
diff --git a/urls.py b/urls.py
index 0355657c9d3d7d279c19009ea10398fa90c3da94..fb1fedab00d2624bab6ccb6597ab885702922a8f 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -7,7 +7,9 @@ urlpatterns = patterns('',
 )
 
 if 'rosetta' in settings.INSTALLED_APPS:
-    urlpatterns += patterns('',
+    urlpatterns = patterns('',
         url(r'^rosetta/', include('rosetta.urls')),
-    )
+    ) + urlpatterns
 
+handler404 = 'forum.views.meta.page'
+handler500 = 'forum.views.meta.error_handler'