Skip to content

Commit 4a388e0

Browse files
added the is_multi_division field
1 parent 1cef417 commit 4a388e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sde_collections/models/collection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
from django.dispatch import receiver
99
from model_utils import FieldTracker
1010
from slugify import slugify
11-
from django.db import models
12-
from django.db.models import Q
1311

1412
from config_generation.db_to_xml import XmlEditor
1513

@@ -47,6 +45,7 @@ class Collection(models.Model):
4745
document_type = models.IntegerField(choices=DocumentTypes.choices, default=DocumentTypes.DOCUMENTATION)
4846
tree_root_deprecated = models.CharField("Tree Root", max_length=1024, default="", blank=True)
4947
delete = models.BooleanField(default=False)
48+
is_multi_division = models.BooleanField("Is Multi-Division?", default=False)
5049

5150
# audit columns for production
5251
audit_hierarchy = models.CharField("Audit Hierarchy", max_length=2048, default="", blank=True)

0 commit comments

Comments
 (0)