Skip to content

Commit

Permalink
Merge pull request #128 from acdh-oeaw/get-tei-refs
Browse files Browse the repository at this point in the history
Get tei refs
  • Loading branch information
gythaogg authored Sep 23, 2024
2 parents 6a290e2 + 088396b commit 919eaf8
Show file tree
Hide file tree
Showing 4 changed files with 1,410 additions and 280 deletions.
2 changes: 1 addition & 1 deletion apis_ontology/management/commands/import_excerpts.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def create_record(row):
create_record(row)

self.stdout.write(self.style.SUCCESS(f"Processed {df.shape[0]} excerpts."))
print(len(Excerpts.objects.all()))
print("There are f{len(Excerpts.objects.all())} in the database now.")
2 changes: 1 addition & 1 deletion apis_ontology/settings/server_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
]

INSTALLED_APPS += [
"apis_core.relations",
"apis_highlighter",
"django.contrib.postgres",
"apis_core.collections",
Expand All @@ -23,6 +22,7 @@
]
INSTALLED_APPS.remove("apis_ontology")
INSTALLED_APPS.insert(0, "apis_ontology")
INSTALLED_APPS = ["apis_core.relations"] + INSTALLED_APPS


LOGGING = {
Expand Down
Loading

0 comments on commit 919eaf8

Please sign in to comment.