Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SDE links to EJ data #617

Merged
merged 3 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
]