city & province list for pos device
This commit is contained in:
12
apps/authentication/pos/api/v1/urls.py
Normal file
12
apps/authentication/pos/api/v1/urls.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from apps.authentication.pos.api.v1.api import CityViewSet, ProvinceViewSet
|
||||
from django.urls import path, include
|
||||
from rest_framework import routers
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
|
||||
router.register(r'city', CityViewSet, basename='city')
|
||||
router.register(r'province', ProvinceViewSet, basename='province')
|
||||
|
||||
urlpatterns = [
|
||||
path('api/v1/', include(router.urls))
|
||||
]
|
||||
Reference in New Issue
Block a user