Prechádzať zdrojové kódy

Renaming database names.

stucked_s 9 mesiacov pred
rodič
commit
5d157301b2

+ 1 - 1
apiviews/orders_local.py

@@ -5,7 +5,7 @@ from rest_framework import viewsets, permissions, status
 from rest_framework.response import Response
 from rest_framework.exceptions import NotFound
 from webservice_running.models import OrdersLocal
-# from metaservicesynced.models import Orders, Service, ServiceType, Provider, Client
+# from dbsynce.models import Orders, Service, ServiceType, Provider, Client
 # from SharixAdmin.models import SharixUser
 # from tickets.models import Task
 # from tickets.serializer import TaskSerializer

+ 1 - 1
models/webservice_running.py

@@ -1,5 +1,5 @@
 from django.db import models
-from metaservicesynced.models import Orders, Resource
+from dbsynce.models import Orders, Resource
 
 class OrdersLocal(models.Model):
     """

+ 2 - 2
serializer/orders_local.py

@@ -1,8 +1,8 @@
 from rest_framework import serializers
 from webservice_running.models import OrdersLocal
 from tickets.models import *
-from metaservicesynced.models import Orders
-# from metaservicesynced.serializer import OrdersSerializer
+from dbsynce.models import Orders
+# from dbsynce.serializer import OrdersSerializer
 from rest_framework.utils import model_meta
 import pprint
 from django.db import connection