# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-12-26 19:25
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('kolibriauth', '0006_auto_20171206_1207'),
    ]

    operations = [
        migrations.AlterField(
            model_name='facilitydataset',
            name='preset',
            field=models.CharField(choices=[('informal', 'Informal and personal use'), ('nonformal', 'Self-managed'), ('formal', 'Admin-managed')], default='nonformal', max_length=50),
        ),
        migrations.AlterUniqueTogether(
            name='facilityuser',
            unique_together=set([]),
        ),
    ]

@@ -149,16 +149,578 @@
 models%0A%0A
+# This is necessary because:%0A# 1. The list generator has an unpredictable order, and when items swap places%0A#    then this would be picked up as a change in Django if we had used%0A# 2. These choices can be changed in facility_configuration_presets.json%0A#    and such change should not warrant warnings that models are inconsistent%0A#    as it has no impact.%0A# Notice: The 'choices' property of a field does NOT have any impact on DB%0A# See: https://github.com/learningequality/kolibri/pull/3180%0Afrom ..constants.facility_presets import choices as facility_choices%0A%0A
 %0Aclass M
@@ -998,111 +998,24 @@
 ces=
-%5B('informal', 'Informal and personal use'), ('nonformal', 'Self-managed'), ('formal', 'Admin-managed')%5D
+facility_choices
 , de

Fix for dynamic value of FacilityDataset.preset.choices causing migration inconsistencies