Skip to content

Commit

Permalink
Merge pull request #240 from caktus/develop
Browse files Browse the repository at this point in the history
Production release v1.13.0
  • Loading branch information
Afani97 authored Oct 25, 2023
2 parents 237fc95 + 04cb48d commit b117ebe
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions nc/migrations/0011_alter_resource_image.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.14 on 2023-10-19 18:03

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('nc', '0010_resourcefile'),
]

operations = [
migrations.AlterField(
model_name='resource',
name='image',
field=models.CharField(blank=True, choices=[('copwatch-new-policy', 'New Policy'), ('forward-justice-logo', 'Forward Justice Logo'), ('copwatch-white-paper', 'White Paper')], max_length=200, null=True),
),
]
1 change: 1 addition & 0 deletions nc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ class Resource(models.Model):
RESOURCE_IMAGES = [
("copwatch-new-policy", "New Policy"),
("forward-justice-logo", "Forward Justice Logo"),
("copwatch-white-paper", "White Paper"),
]
agencies = models.ManyToManyField("Agency", related_name="resources")
title = models.CharField(max_length=500, null=False, blank=False)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b117ebe

Please sign in to comment.