@@ -6,11 +6,18 @@ class EnvironmentalJusticeRow(models.Model):
6
6
Environmental Justice data from the spreadsheet
7
7
"""
8
8
9
+ class DestinationServerChoices (models .TextChoices ):
10
+ DEV = "dev" , "Development"
11
+ TEST = "test" , "Testing"
12
+ PROD = "prod" , "Production"
13
+
14
+ destination_server = models .CharField (
15
+ "Destination Server" , max_length = 10 , choices = DestinationServerChoices .choices , default = "" , blank = True
16
+ )
17
+
9
18
dataset = models .CharField ("Dataset" , blank = True , default = "" )
10
19
description = models .CharField ("Description" , blank = True , default = "" )
11
- description_simplified = models .CharField (
12
- "Description Simplified" , blank = True , default = ""
13
- )
20
+ description_simplified = models .CharField ("Description Simplified" , blank = True , default = "" )
14
21
indicators = models .CharField ("Indicators" , blank = True , default = "" )
15
22
intended_use = models .CharField ("Intended Use" , blank = True , default = "" )
16
23
latency = models .CharField ("Latency" , blank = True , default = "" )
@@ -21,15 +28,11 @@ class EnvironmentalJusticeRow(models.Model):
21
28
22
29
# fields that needs cleaning
23
30
format = models .CharField ("Format" , blank = True , default = "" )
24
- geographic_coverage = models .CharField (
25
- "Geographic Coverage" , blank = True , default = ""
26
- )
31
+ geographic_coverage = models .CharField ("Geographic Coverage" , blank = True , default = "" )
27
32
data_visualization = models .CharField ("Data Visualization" , blank = True , default = "" )
28
33
spatial_resolution = models .CharField ("Spatial Resolution" , blank = True , default = "" )
29
34
temporal_extent = models .CharField ("Temporal Extent" , blank = True , default = "" )
30
- temporal_resolution = models .CharField (
31
- "Temporal Resolution" , blank = True , default = ""
32
- )
35
+ temporal_resolution = models .CharField ("Temporal Resolution" , blank = True , default = "" )
33
36
34
37
sde_link = models .CharField ("SDE Link" , default = "" , blank = True )
35
38
0 commit comments