Skip to content

Commit

Permalink
Membership.label max_length increased to 512
Browse files Browse the repository at this point in the history
  • Loading branch information
guglielmo committed Jul 16, 2018
1 parent 73f2579 commit 2fa240e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions popolo/migrations/0004_auto_20180716_1639.py
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-07-16 14:39
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('popolo', '0003_auto_20180710_0951'),
]

operations = [
migrations.AlterField(
model_name='membership',
name='label',
field=models.CharField(blank=True, help_text='A label describing the membership', max_length=512, null=True, verbose_name='label'),
),
]
2 changes: 1 addition & 1 deletion popolo/models.py
Expand Up @@ -2105,7 +2105,7 @@ def slug_source(self):

label = models.CharField(
_("label"),
max_length=256, blank=True, null=True,
max_length=512, blank=True, null=True,
help_text=_("A label describing the membership")
)

Expand Down

0 comments on commit 2fa240e

Please sign in to comment.