]> git.openstreetmap.org Git - osqa.git/blob - urls.py
Makes hitting a question url using an id that is not a question raise a 404.
[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'^%s' % settings.FORUM_SCRIPT_ALIAS, include('forum.urls')),
7 )
8
9 if 'rosetta' in settings.INSTALLED_APPS:
10     urlpatterns += patterns('',
11         url(r'^rosetta/', include('rosetta.urls')),
12     )
13