old_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('survey', '0002_survey_template'),
      ]
  
      operations = [
          migrations.RenameField(
              model_name='question',
              old_name='question_type',
              new_name='type',
          ),
          migrations.AddField(
              model_name='category',
              name='description',
              field=models.CharField(max_length=2000, null=True, blank=True),
          ),
          migrations.AlterField(
              model_name='answerbase',
              name='question',
              field=models.ForeignKey(related_name='answers', to='survey.Question'),
          ),
          migrations.AlterField(
              model_name='answerbase',
              name='response',
              field=models.ForeignKey(related_name='answers', to='survey.Response'),
          ),
          migrations.AlterField(
              model_name='question',
              name='category',
              field=models.ForeignKey(related_name='related_questions', blank=True, to='survey.Category', null=True),
          ),
          migrations.AlterField(
              model_name='question',
              name='choices',
              field=models.TextField(help_text="The choices field is only used if the question type\nif the question type is 'radio', 'select', or\n'select multiple' provide a comma-separated list of\noptions for this question .", null=True, blank=True),
          ),
          migrations.AlterField(
              model_name='question',
              name='survey',
              field=models.ForeignKey(related_name='related_questions', to='survey.Survey'),
          ),
      ]
  
new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.6 on 2017-03-23 05:37
  from __future__ import unicode_literals
  
  import django.db.models.deletion
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('survey', '0002_survey_template'),
      ]
  
      operations = [
          migrations.RenameField(
              model_name='question',
              old_name='question_type',
              new_name='type',
          ),
          migrations.AddField(
              model_name='category',
              name='description',
              field=models.CharField(blank=True, max_length=2000, null=True),
          ),
          migrations.AlterField(
              model_name='answerbase',
              name='question',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='answers', to='survey.Question'),
          ),
          migrations.AlterField(
              model_name='answerbase',
              name='response',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='answers', to='survey.Response'),
          ),
          migrations.AlterField(
              model_name='question',
              name='category',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='related_questions', to='survey.Category'),
          ),
          migrations.AlterField(
              model_name='question',
              name='choices',
              field=models.TextField(blank=True, help_text="The choices field is only used if the question type\nif the question type is 'radio', 'select', or\n'select multiple' provide a comma-separated list of\noptions for this question .", null=True),
          ),
          migrations.AlterField(
              model_name='question',
              name='survey',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='related_questions', to='survey.Survey'),
          ),
          migrations.AlterField(
              model_name='response',
              name='survey',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='responses', to='survey.Survey'),
          ),
      ]
  
subject: Fix - updated migration to reflect related_name change