Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 54ff9fabef
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
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(admin.site.urls)),
(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.