]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/urls.py
Add functionallity for editing po files through the use of the django-rosetta
[osqa.git] / forum / urls.py
index e6a0eb8aa71b2646049def91c3c7819501348689..8bf1fb47ea8875369459f21f8eeaf90067f29f02 100644 (file)
@@ -1,6 +1,7 @@
 import startup
 
 import os.path
+from django.conf import settings
 from django.conf.urls.defaults import *
 from django.contrib import admin
 from forum import views as app
@@ -138,3 +139,7 @@ urlpatterns += patterns('',
     url(r'^feeds/rss/$', RssLastestQuestionsFeed, name="latest_questions_feed"),
 )
 
+if 'rosetta' in settings.INSTALLED_APPS:
+    urlpatterns += patterns('',
+        url(r'^rosetta/', include('rosetta.urls')),
+    )
\ No newline at end of file