Skip to content

Commit

Permalink
Merge pull request #617 from NASA-IMPACT/616-add-sde-links-to-ej-data
Browse files Browse the repository at this point in the history
Add SDE links to EJ data
  • Loading branch information
code-geek authored Feb 21, 2024
2 parents 82570cb + c75f8c8 commit ea5a1dd
Show file tree
Hide file tree
Showing 4 changed files with 3,390 additions and 1 deletion.
3,369 changes: 3,368 additions & 1 deletion environmental_justice/fixtures/ej_row.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 5.0.1 on 2024-02-21 04:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("environmental_justice", "0001_initial"),
]

operations = [
migrations.AddField(
model_name="environmentaljusticerow",
name="sde_links",
field=models.CharField(default="[]", verbose_name="SDE Links"),
preserve_default=False,
),
]
2 changes: 2 additions & 0 deletions environmental_justice/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class EnvironmentalJusticeRow(models.Model):
temporal_extent = models.CharField("Temporal Extent")
temporal_resolution = models.CharField("Temporal Resolution")

sde_links = models.CharField("SDE Links")

class Meta:
verbose_name = "Environmental Justice Row"
verbose_name_plural = "Environmental Justice Rows"
Expand Down
1 change: 1 addition & 0 deletions environmental_justice/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ class Meta:
"spatial_resolution",
"temporal_extent",
"temporal_resolution",
"sde_links",
]

0 comments on commit ea5a1dd

Please sign in to comment.