text: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.6 on 2016-06-16 18:00
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Choice',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('choice', models.CharField(max_length=200)),
                  ('votes', models.IntegerField(default=0)),
              ],
          ),
          migrations.CreateModel(
              name='Poll',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('question', models.CharField(max_length=200)),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='choice',
              name='question',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='polls.Poll'),
          ),
      ]
  