Browse Source

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 year ago
parent
commit
28c4100189
2 changed files with 1 additions and 2 deletions
  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