Commit 6dce20b6 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix migration script and PEP error

parent a489bf1d
from django.contrib import admin
from utils.translation import TranslatedModelAdmin
from django.conf import settings
from . import models
......
......@@ -41,15 +41,13 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='committee',
name='description_en',
field=models.CharField(default='', max_length=40, unique=True,
verbose_name='Description (EN)'),
field=models.TextField(default='', verbose_name='Description (EN)'),
preserve_default=False,
),
migrations.AlterField(
model_name='committee',
name='description_nl',
field=models.CharField(max_length=40, unique=True,
verbose_name='Description (NL)'),
field=models.TextField(verbose_name='Description (NL)'),
preserve_default=True,
),
migrations.RunPython(forwards_func, reverse_func),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment