Move the document language choice list from the model to the form.

Pycoutry upgrades or user changes to the language choice list won't
trigger a migration anymore. Closes GitLab issue #328.
This commit is contained in:
Roberto Rosario
2016-12-31 02:20:56 -04:00
parent 6bfdb053e3
commit 4f889fc21d
5 changed files with 41 additions and 13 deletions
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-31 06:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('documents', '0036_auto_20161222_0534'),
]
operations = [
migrations.AlterField(
model_name='document',
name='language',
field=models.CharField(blank=True, default='eng', max_length=8, verbose_name='Language'),
),
]