Skip to content

Commit d59f904

Browse files
added division field to the candidateURL model
1 parent 4a388e0 commit d59f904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sde_collections/models/candidate_url.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from django.db import models
66

77
from .collection import Collection
8-
from .collection_choice_fields import DocumentTypes
8+
from .collection_choice_fields import Divisions, DocumentTypes
99
from .pattern import ExcludePattern, TitlePattern
1010

1111

@@ -57,6 +57,7 @@ class CandidateURL(models.Model):
5757
visited = models.BooleanField(default=False)
5858
objects = CandidateURLManager()
5959
document_type = models.IntegerField(choices=DocumentTypes.choices, null=True)
60+
division = models.IntegerField(choices=Divisions.choices, null=True)
6061
inferenced_by = models.CharField(
6162
"Inferenced By",
6263
default="",

0 commit comments

Comments
 (0)