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')), )