server/urls.py
author rougeronj
Tue, 07 Apr 2015 12:00:14 +0200
changeset 74 44ebb0d0b836
parent 35 cf8c306ab902
permissions -rw-r--r--
get the book id of the book to delete from the template instead of $index (because we reorder the list so $index are not really clear anymore)
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)),
13
08f34bbc70ee set up django rest framework
rougeronj
parents: 12
diff changeset
     8
    url(r'^ammico/', include('ammico.urls')),
08f34bbc70ee set up django rest framework
rougeronj
parents: 12
diff changeset
     9
)