소스 검색

Hotfix needed to run sharix-open-webapp-base, after a major update

The logic in a project can be broken! Examine the changes made and change the logic to match them.
TonyKurts 1 년 전
부모
커밋
28c4100189
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      serializer/orders_local.py
  2. 1 1
      views.py

+ 0 - 1
serializer/orders_local.py

@@ -3,7 +3,6 @@ from webservice_running.models import OrdersLocal
 from tickets.models import *
 from metaservicesynced.models import Orders
 from SharixAdmin.models import SharixUser
-from tickets.serializer import TaskSerializer
 # from metaservicesynced.serializer import OrdersSerializer
 from rest_framework.utils import model_meta
 import pprint

+ 1 - 1
views.py

@@ -2,7 +2,7 @@ from django.urls import reverse_lazy
 import requests
 from django.http import HttpResponse
 from webservice_running.apps import api
-from core.config import API_URL
+from core.settings import API_URL
 from webservice_running.forms import OrderRegForm, RegisterUserForm
 from django.shortcuts import redirect, render