text: # Generated by Django 2.1.1 on 2018-09-10 20:55
  
  from django.conf import settings
  import django.contrib.auth.models
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('auth', '0009_alter_user_last_name_max_length'),
          ('lw2', '0009_auto_20180910_0523'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='User',
              fields=[
                  ('user_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
                  ('display_name', models.CharField(max_length=40)),
              ],
              options={
                  'verbose_name': 'user',
                  'verbose_name_plural': 'users',
                  'abstract': False,
              },
              bases=('auth.user',),
              managers=[
                  ('objects', django.contrib.auth.models.UserManager()),
              ],
          ),
          migrations.AlterField(
              model_name='comment',
              name='user',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='author', to='lw2.User'),
          ),
          migrations.AlterField(
              model_name='post',
              name='user',
              field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='lw2.User'),
          ),
          migrations.AlterField(
              model_name='vote',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='votes', to='lw2.User'),
          ),
      ]
  