forked from versae/artdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
35 lines (24 loc) · 819 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from django.conf import settings
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from admin import admin_site
urlpatterns = patterns('',
# static server
url(r'^media/(.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
# artwork
url(r'^artworks/', include('artworks.urls')),
# creator
url(r'^creators/', include('creators.urls')),
# map
url(r'^map/$', direct_to_template, {'template': 'map.html'}, name="map"),
# graphs
# url(r'^graphs/', include('graphs.urls')),
# exhibit
url(r'^exhibit/', include('exhibit.urls')),
# qbe
url(r'^qbe/', include('django_qbe.urls')),
# base
url(r'^', include('base.urls')),
# admin
url(r'^admin/', include(admin_site.urls)),
)