Skip to content

Commit 57dc509

Browse files
committed
feat(django): add new project types to project type model
1 parent 994f398 commit 57dc509

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

django/apps/existing_database/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
from mapswipe.db import Model
2+
13
from django.contrib.gis.db import models as gis_models
24
from django.db import models
3-
from mapswipe.db import Model
45

56
# NOTE: Django model defination and existing table structure doesn't entirely matches.
67
# This is to be used for testing only.
@@ -66,6 +67,9 @@ class Type(models.IntegerChoices):
6667
FOOTPRINT = 2, "Validate"
6768
CHANGE_DETECTION = 3, "Compare"
6869
COMPLETENESS = 4, "Completeness"
70+
MEDIA = 5, "Media"
71+
DIGITIZATION = 6, "Digitization"
72+
STREET = 7, "Street"
6973

7074
project_id = models.CharField(primary_key=True, max_length=999)
7175
created = models.DateTimeField(blank=True, null=True)

0 commit comments

Comments
 (0)