2014-12-23 09:34:36 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
2014-12-23 09:39:56 +00:00
|
|
|
from django.contrib import admin
|
2015-05-27 20:19:18 +00:00
|
|
|
from django.conf import settings
|
2014-12-23 09:39:56 +00:00
|
|
|
|
|
|
|
admin.autodiscover()
|
2014-12-23 09:34:36 +00:00
|
|
|
|
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2015-05-27 20:19:18 +00:00
|
|
|
url(
|
|
|
|
r'^static/(?P<path>.*)$',
|
|
|
|
'django.views.static.serve',
|
|
|
|
{'document_root': settings.STATIC_ROOT}
|
|
|
|
),
|
2014-12-23 09:39:56 +00:00
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
2015-01-12 15:51:54 +00:00
|
|
|
url(r'^accounts/', include('accounts.urls', namespace = 'accounts')),
|
2014-12-23 08:29:58 +00:00
|
|
|
url(r'^api/', include('api.urls', namespace = 'api')),
|
2015-01-12 15:51:54 +00:00
|
|
|
url('', include('booking.urls', namespace = 'booking')),
|
2014-12-23 09:34:36 +00:00
|
|
|
)
|