From 6a20ba1935bf8d8fd9c222fafed6b2dae0cbc99d Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 23 Dec 2014 09:29:58 +0100 Subject: [PATCH] Add api application skeleton --- api/__init__.py | 0 api/urls.py | 7 +++++++ duckbook/urls.py | 1 + 3 files changed, 8 insertions(+) create mode 100644 api/__init__.py create mode 100644 api/urls.py diff --git a/api/__init__.py b/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/api/urls.py b/api/urls.py new file mode 100644 index 0000000..82981ec --- /dev/null +++ b/api/urls.py @@ -0,0 +1,7 @@ +from django.conf.urls import patterns, url + +from . import views + +urlpatterns = patterns( + '', +) diff --git a/duckbook/urls.py b/duckbook/urls.py index 548772f..c6c24b3 100644 --- a/duckbook/urls.py +++ b/duckbook/urls.py @@ -7,5 +7,6 @@ urlpatterns = patterns( '', url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('accounts.urls', namespace = 'accounts')), + url(r'^api/', include('api.urls', namespace = 'api')), url('', include('booking.urls', namespace = 'booking')), )