Skip to content

Commit

Permalink
Merge pull request #40 from acdh-oeaw/bugfix/remove-end-date-fully
Browse files Browse the repository at this point in the history
Remove end_date_written as well
  • Loading branch information
gythaogg authored Jun 2, 2024
2 parents a13f7da + 3406f81 commit bdaf94d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 4.2.13 on 2024-06-02 22:29

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
(
"apis_ontology",
"0013_remove_instance_published_remove_person_published_and_more",
),
]

operations = [
migrations.RemoveField(
model_name="instance",
name="end_date_written",
),
migrations.RemoveField(
model_name="place",
name="end_date_written",
),
migrations.RemoveField(
model_name="versioninstance",
name="end_date_written",
),
migrations.RemoveField(
model_name="versionplace",
name="end_date_written",
),
migrations.RemoveField(
model_name="versionwork",
name="end_date_written",
),
migrations.RemoveField(
model_name="work",
name="end_date_written",
),
]
3 changes: 3 additions & 0 deletions apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class Place(
end_date = None
end_start_date = None
end_end_date = None
end_date_written = None

class Meta:
verbose_name = _("place")
Expand All @@ -108,6 +109,7 @@ class Work(
end_date = None
end_start_date = None
end_end_date = None
end_date_written = None

LANGUAGES = [
("Sanskrit", "Sanskrit"),
Expand Down Expand Up @@ -155,6 +157,7 @@ class Instance(
end_date = None
end_start_date = None
end_end_date = None
end_date_written = None

SETS = [
("Set 1", "Set 1"),
Expand Down

0 comments on commit bdaf94d

Please sign in to comment.