booking urls for mobile

(cherry picked from commit 0df3425)
This commit is contained in:
Kuroshini 2019-12-06 13:11:29 +03:00
parent 48ae6a437d
commit 7635eafb09
6 changed files with 18 additions and 1 deletions

View File

View File

@ -0,0 +1,8 @@
from booking.urls import common as common_views
app = 'booking'
urlpatterns_api = []
urlpatterns = urlpatterns_api + \
common_views.urlpatterns

8
apps/booking/urls/web.py Normal file
View File

@ -0,0 +1,8 @@
from booking.urls import common as common_views
app = 'booking'
urlpatterns_api = []
urlpatterns = urlpatterns_api + \
common_views.urlpatterns

View File

@ -3,6 +3,7 @@ from django.urls import path, include
app_name = 'mobile' app_name = 'mobile'
urlpatterns = [ urlpatterns = [
path('booking/', include('booking.urls.web')),
path('establishments/', include('establishment.urls.mobile')), path('establishments/', include('establishment.urls.mobile')),
path('location/', include('location.urls.mobile')), path('location/', include('location.urls.mobile')),
path('main/', include('main.urls.mobile')), path('main/', include('main.urls.mobile')),

View File

@ -19,7 +19,7 @@ app_name = 'web'
urlpatterns = [ urlpatterns = [
path('account/', include('account.urls.web')), path('account/', include('account.urls.web')),
path('booking/', include('booking.urls')), path('booking/', include('booking.urls.web')),
path('re_blocks/', include('advertisement.urls.web')), path('re_blocks/', include('advertisement.urls.web')),
path('collections/', include('collection.urls.web')), path('collections/', include('collection.urls.web')),
path('establishments/', include('establishment.urls.web')), path('establishments/', include('establishment.urls.web')),