Skip to content

Commit

Permalink
Remove "published" field
Browse files Browse the repository at this point in the history
closes #32
  • Loading branch information
gythaogg committed Jun 2, 2024
1 parent 054e0b7 commit abbfba0
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Generated by Django 4.2.13 on 2024-06-02 21:44

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("apis_ontology", "0012_remove_instance_end_date_and_more"),
]

operations = [
migrations.RemoveField(
model_name="instance",
name="published",
),
migrations.RemoveField(
model_name="person",
name="published",
),
migrations.RemoveField(
model_name="place",
name="published",
),
migrations.RemoveField(
model_name="versioninstance",
name="published",
),
migrations.RemoveField(
model_name="versionperson",
name="published",
),
migrations.RemoveField(
model_name="versionplace",
name="published",
),
migrations.RemoveField(
model_name="versionwork",
name="published",
),
migrations.RemoveField(
model_name="work",
name="published",
),
]
2 changes: 1 addition & 1 deletion apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Meta:
"standards.",
)
notes = models.TextField(blank=True, null=True, verbose_name="Notes")
published = models.BooleanField(default=False)
# published = models.BooleanField(default=False)
collection = models.ManyToManyField("apis_metainfo.Collection", editable=False)

@classmethod
Expand Down

0 comments on commit abbfba0

Please sign in to comment.