|
@@ -3,7 +3,7 @@ from rest_framework import routers
|
|
|
from django.urls import path, include, re_path
|
|
|
from . import views
|
|
|
|
|
|
-app_name = 'webservice'
|
|
|
+app_name = 'webservice_running'
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
|
router.register(r'event', EventMVS)
|
|
@@ -22,6 +22,8 @@ router.register(r'sport', SportMVS)
|
|
|
router.register(r'sportsman_gallery', SportsmanGalleryMVS)
|
|
|
|
|
|
urlpatterns = [
|
|
|
- # path("", views.order_reg, name="order_reg"),
|
|
|
- re_path(r'^api/', include(router.urls), name="webservice_running_api"),
|
|
|
-]
|
|
|
+ path('order_reg/', views.order_reg, name="order_reg"),
|
|
|
+ path('', views.registration, name="registration"),
|
|
|
+ path('api/', include(router.urls), name="webservice_running_api"),
|
|
|
+]
|
|
|
+
|