text: # Generated by Django 2.0.2 on 2018-03-31 12:51
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('session', '0001_initial'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='CustomUser',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('info', models.CharField(max_length=255, verbose_name='информация о юзере')),
                  ('photo', models.ImageField(upload_to='', verbose_name='фото юзера')),
                  ('AdminSessions', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='session.Session', verbose_name='Сессии, к котормым у него есть админки')),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='customuser', to=settings.AUTH_USER_MODEL, verbose_name='реальный пользователь')),
              ],
          ),
      ]
  