Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.918 kb
import os
from django.conf import settings
from django.conf.urls.defaults import * # pylint: disable-msg=W0401,W0614
from django.contrib import admin
from django.views.generic.simple import direct_to_template
from django.views.static import serve
import minerva.urls
import user_management.urls
urlpatterns = patterns('',
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(,
(r'', include(minerva.urls)),
(r'', include(user_management.urls)),
url("about/$", direct_to_template,
{"template": "fixme_placeholder.html"}, name="about"),
url("tech/$", direct_to_template,
{"template": "fixme_placeholder.html"}, name="tech"),
if settings.DEV_MODE:
urlpatterns += patterns("",
(r'^static/(.*)$', serve,
{'document_root': os.path.join(settings.FILE_ROOT, "static/")}),
Jump to Line
Something went wrong with that request. Please try again.