From e483ea88c1b52aabc576e430a7fe980a4e3b7d0f Mon Sep 17 00:00:00 2001 From: Gytha Ogg Date: Mon, 26 Feb 2024 11:40:31 +0100 Subject: [PATCH] Remove debug prints --- apis_ontology/filters.py | 1 - apis_ontology/models.py | 1 - 2 files changed, 2 deletions(-) diff --git a/apis_ontology/filters.py b/apis_ontology/filters.py index 894eaa5..b2053e1 100644 --- a/apis_ontology/filters.py +++ b/apis_ontology/filters.py @@ -11,7 +11,6 @@ def name_filter(queryset, name, value): def instance_name_filter(queryset, name, value): - print("Name: %s, Value: %s", name, value) return queryset.filter( Q(id__icontains=value) | Q(name__icontains=value) diff --git a/apis_ontology/models.py b/apis_ontology/models.py index 3046330..a25ad21 100644 --- a/apis_ontology/models.py +++ b/apis_ontology/models.py @@ -107,7 +107,6 @@ def work(self): @cached_property def author(self): try: - print(self.work, self.work.author) return self.work.author except Exception as e: print(e)