text: # Generated by Django 2.2.16 on 2021-09-22 21:13
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('posts', '0006_auto_20210922_0932'),
      ]
  
      operations = [
          migrations.AlterModelOptions(
              name='post',
              options={'ordering': ['-pub_date'], 'verbose_name': 'Пост', 'verbose_name_plural': 'Посты'},
          ),
          migrations.AddField(
              model_name='post',
              name='image',
              field=models.ImageField(blank=True, upload_to='posts/', verbose_name='Картинка'),
          ),
          migrations.AlterField(
              model_name='post',
              name='author',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='posts', to=settings.AUTH_USER_MODEL, verbose_name='Автор'),
          ),
          migrations.AlterField(
              model_name='post',
              name='group',
              field=models.ForeignKey(blank=True, help_text='Выберите группу', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='posts', to='posts.Group', verbose_name='Группа'),
          ),
          migrations.AlterField(
              model_name='post',
              name='pub_date',
              field=models.DateTimeField(auto_now_add=True, verbose_name='Дата публикации'),
          ),
          migrations.AlterField(
              model_name='post',
              name='text',
              field=models.TextField(help_text='Введите текст поста', verbose_name='Текст поста'),
          ),
      ]
  