text: # Generated by Django 2.2.9 on 2021-04-29 10:23
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('posts', '0002_auto_20210429_1022'),
      ]
  
      operations = [
          migrations.AlterField(
              model_name='post',
              name='author',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='author', to=settings.AUTH_USER_MODEL, verbose_name='Автор'),
          ),
          migrations.AlterField(
              model_name='post',
              name='group',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='group', to='posts.Group', verbose_name='Сообщество'),
          ),
      ]
  