Add api application skeleton
This commit is contained in:
parent
c7722c418a
commit
6a20ba1935
0
api/__init__.py
Normal file
0
api/__init__.py
Normal file
7
api/urls.py
Normal file
7
api/urls.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from django.conf.urls import patterns, url
|
||||||
|
|
||||||
|
from . import views
|
||||||
|
|
||||||
|
urlpatterns = patterns(
|
||||||
|
'',
|
||||||
|
)
|
@ -7,5 +7,6 @@ urlpatterns = patterns(
|
|||||||
'',
|
'',
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
url(r'^accounts/', include('accounts.urls', namespace = 'accounts')),
|
url(r'^accounts/', include('accounts.urls', namespace = 'accounts')),
|
||||||
|
url(r'^api/', include('api.urls', namespace = 'api')),
|
||||||
url('', include('booking.urls', namespace = 'booking')),
|
url('', include('booking.urls', namespace = 'booking')),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user