Procházet zdrojové kódy

add api to metaservicesynced

Evgeny Polivanov před 1 rokem
rodič
revize
0c1d31fdf7
3 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. 1 1
      .gitignore
  2. 2 1
      SharixAdmin/urls.py
  3. 2 0
      core/urls.py

+ 1 - 1
.gitignore

@@ -6,7 +6,7 @@ tickets/
 metaservicesynced/
 staticfiles/
 core/config.py
-migrations/*
+migrations/
 !__init__.py
 # VSCode
 .vscode

+ 2 - 1
SharixAdmin/urls.py

@@ -5,6 +5,7 @@ from rest_framework import routers
 from django_spaghetti.views import Plate
 from schema_graph.views import Schema
 from django.contrib.auth.decorators import login_required
+
 router = routers.SimpleRouter()
 router.register(r'sharix-users', SharixUserMVS)
 router.register(r'group', GroupMVS)
@@ -27,6 +28,6 @@ urlpatterns = [
     path('schemav1/', login_required(Schema.as_view()), name='schemav1'),
     path('schemav2/', login_required(Plate.as_view()),  name='schemav2'),
     path('schemav3/', schema_v3, name='schema'),
-
+    
     re_path(r'^redoc/$', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
 ]

+ 2 - 0
core/urls.py

@@ -11,6 +11,8 @@ urlpatterns = (
     path('admin/', admin.site.urls),
     path('', include('SharixAdmin.urls')),
     path('tickets/', include("tickets.urls"), name='tickets'),
+    #metaservice
+    path('metaservicesynced/', include("metaservicesynced.urls"), name="metaservicesynced"),
     
 
 ]