Make update url longer
This commit is contained in:
parent
5007e61248
commit
bde9bf6000
2 changed files with 24 additions and 1 deletions
23
froide_govplan/migrations/0007_auto_20220314_1422.py
Normal file
23
froide_govplan/migrations/0007_auto_20220314_1422.py
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# Generated by Django 3.2.12 on 2022-03-14 13:22
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('froide_govplan', '0006_sections_cms_plugin'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='governmentplanscmsplugin',
|
||||||
|
name='template',
|
||||||
|
field=models.CharField(blank=True, choices=[('froide_govplan/plugins/default.html', 'Normal'), ('froide_govplan/plugins/progress.html', 'Progress'), ('froide_govplan/plugins/card_cols.html', 'Card columns'), ('froide_govplan/plugins/search.html', 'Search')], help_text='template used to display the plugin', max_length=250, verbose_name='template'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='governmentplanupdate',
|
||||||
|
name='url',
|
||||||
|
field=models.URLField(blank=True, max_length=1024, verbose_name='URL'),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -256,7 +256,7 @@ class GovernmentPlanUpdate(models.Model):
|
||||||
timestamp = models.DateTimeField(default=timezone.now, verbose_name=_("timestamp"))
|
timestamp = models.DateTimeField(default=timezone.now, verbose_name=_("timestamp"))
|
||||||
title = models.CharField(max_length=1024, blank=True, verbose_name=_("title"))
|
title = models.CharField(max_length=1024, blank=True, verbose_name=_("title"))
|
||||||
content = models.TextField(blank=True, verbose_name=_("content"))
|
content = models.TextField(blank=True, verbose_name=_("content"))
|
||||||
url = models.URLField(blank=True, verbose_name=_("URL"))
|
url = models.URLField(blank=True, max_length=1024, verbose_name=_("URL"))
|
||||||
|
|
||||||
status = models.CharField(
|
status = models.CharField(
|
||||||
max_length=25,
|
max_length=25,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue