소스 검색

Renaming database names.

stucked_s 9 달 전
부모
커밋
5d157301b2
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      apiviews/orders_local.py
  2. 1 1
      models/webservice_running.py
  3. 2 2
      serializer/orders_local.py

+ 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