]> git.openstreetmap.org Git - osqa.git/blob - urls.py
OSQA-708, filter the username using smart_unicode, applying patch by @Jonathan Baker
[osqa.git] / urls.py
1 from django.conf.urls.defaults import *
2 from django.utils.translation import ugettext as _
3 from django.conf import settings
4
5 urlpatterns = patterns('',
6     (r'', include('forum.urls')),
7 )
8
9 if 'rosetta' in settings.INSTALLED_APPS:
10     urlpatterns = patterns('',
11         url(r'^rosetta/', include('rosetta.urls')),
12     ) + urlpatterns
13
14 handler404 = 'forum.views.meta.page'
15 handler500 = 'forum.views.meta.error_handler'