dorixona uchun apilar qoshildi
This commit is contained in:
@@ -8,7 +8,8 @@ from core.apps.shared.views import district as dis_view
|
||||
from core.apps.shared.views import place as pl_view
|
||||
# shared doctor view
|
||||
from core.apps.shared.views import doctor as dc_view
|
||||
|
||||
# shared pharmacy view
|
||||
from core.apps.shared.views import pharmacy as ph_view
|
||||
|
||||
urlpatterns = [
|
||||
# region
|
||||
@@ -41,4 +42,10 @@ urlpatterns = [
|
||||
path('<int:id>/', dc_view.DoctorDeleteUpdateApiView.as_view(), name='doctor-update-delete-api'),
|
||||
]
|
||||
)),
|
||||
path('pharmacy/', include(
|
||||
[
|
||||
path('list/', ph_view.PharmacyListApiView.as_view(), name='pharmacy-list-api'),
|
||||
path('create/', ph_view.PharmacyCreateApiView.as_view(), name='pharmacy-create-api'),
|
||||
]
|
||||
)),
|
||||
]
|
||||
Reference in New Issue
Block a user