server/src/urls.py
author rougeronj
Tue, 09 Jun 2015 19:13:29 +0200
changeset 148 9f6f17de6d98
parent 143 ea633c8f9bfa
permissions -rw-r--r--
copy server new version of ammico app and add inde.html which list the available expositions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     1
from django.conf.urls import patterns, include, url
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     2
from django.contrib import admin
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     3
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     4
admin.autodiscover()
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     5
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     6
urlpatterns = patterns('',
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     7
    url(r'^admin/', include(admin.site.urls)),
143
ea633c8f9bfa add exposition table and update the views to include the new foreign key to the exposition table
rougeronj
parents: 117
diff changeset
     8
    url(r'^ammico/', include('ammico.urls',  namespace='ammico')),
13
08f34bbc70ee set up django rest framework
rougeronj
parents: 12
diff changeset
     9
)