booking urls for mobile
(cherry picked from commit 0df3425)
This commit is contained in:
parent
48ae6a437d
commit
7635eafb09
0
apps/booking/urls/__init__.py
Normal file
0
apps/booking/urls/__init__.py
Normal file
8
apps/booking/urls/mobile.py
Normal file
8
apps/booking/urls/mobile.py
Normal 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
8
apps/booking/urls/web.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
from booking.urls import common as common_views
|
||||||
|
app = 'booking'
|
||||||
|
|
||||||
|
|
||||||
|
urlpatterns_api = []
|
||||||
|
|
||||||
|
urlpatterns = urlpatterns_api + \
|
||||||
|
common_views.urlpatterns
|
||||||
|
|
@ -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')),
|
||||||
|
|
|
||||||
|
|
@ -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')),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user