diff --git a/api/researches/views.py b/api/researches/views.py index ef613299a7..5566455641 100644 --- a/api/researches/views.py +++ b/api/researches/views.py @@ -177,6 +177,7 @@ def get_researches(request, last_used=False): "treatment": r.is_treatment, "is_hospital": r.is_hospital, "is_form": r.is_form, + "is_case": r.is_case, "is_application": r.is_application, "stom": r.is_stom, "need_vich_code": r.need_vich_code, @@ -257,7 +258,6 @@ def get_researches(request, last_used=False): result = {"researches": deps, "cnts": cnts} else: result = json.loads(result) - if hasattr(request, 'plain_response') and request.plain_response: return result return JsonResponse(result) diff --git a/pyproject.toml b/pyproject.toml index f9fa2df43d..f1de5eeebf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,7 @@ beren = "0.7.1" transliterate = "1.10.2" imgkit = "1.2.3" astm = {git = "https://github.com/moodpulse/python-astm.git", rev = "v0.6"} -psycopg2-binary = "^2.9.4" +#psycopg2-binary = "^2.9.4" boto3 = "^1.26.157" prompt-toolkit = "^3.0.36" pdf2docx = "^0.5.6"