Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from acdh-oeaw/cleanup
Browse files Browse the repository at this point in the history
Remove debug prints
  • Loading branch information
gythaogg authored Feb 26, 2024
2 parents 9192238 + e483ea8 commit 01afb99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apis_ontology/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01afb99

Please sign in to comment.