                  ('object_id', models.TextField(null=True, verbose_name='object id', blank=True)),
                  ('object_repr', models.CharField(max_length=200, verbose_name='object repr')),
                  ('action_flag', models.PositiveSmallIntegerField(verbose_name='action flag')),
                  ('change_message', models.TextField(verbose_name='change message', blank=True)),
                  ('content_type', models.ForeignKey(to_field='id', blank=True, to='contenttypes.ContentType', null=True, verbose_name='content type')),
                  ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL, verbose_name='user')),
              ],
              options={
                  'ordering': ('-action_time',),
                  'db_table': 'django_admin_log',
                  'verbose_name': 'log entry',
 
</s> remove                 ('content_type', models.ForeignKey(to='contenttypes.ContentType', to_field='id', verbose_name='content type')),
 </s> add                 ('content_type', models.ForeignKey(
                    to='contenttypes.ContentType',
                    on_delete=models.CASCADE,
                    to_field='id',
                    verbose_name='content type',
                )), </s> remove             ('neighborhood', models.ForeignKey(to='gis_migrations.Neighborhood', to_field='id', null=True)),
 </s> add             ('neighborhood', models.ForeignKey(
                'gis_migrations.Neighborhood',
                models.SET_NULL,
                to_field='id',
                null=True,
            )), </s> remove     parent = models.ForeignKey('self', null=True, blank=True, related_name='children')
 </s> add     parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True, related_name='children') </s> remove     parent = models.ForeignKey('self', blank=True, null=True,
            related_name='children')
    category = models.ForeignKey(NamedCategory, null=True, default=None)
 </s> add     parent = models.ForeignKey(
        'self',
        models.SET_NULL,
        blank=True, null=True,
        related_name='children',
    )
    category = models.ForeignKey(NamedCategory, models.SET_NULL, null=True, default=None) </s> remove     section = models.ForeignKey(Section, null=True, blank=True)
    sub_section = models.ForeignKey(Section, null=True, blank=True, on_delete=models.SET_NULL, related_name='+')
 </s> add     section = models.ForeignKey(Section, models.CASCADE, null=True, blank=True)
    sub_section = models.ForeignKey(Section, models.SET_NULL, null=True, blank=True, related_name='+')
                ('content_type', models.ForeignKey(
                    to_field='id',
                    on_delete=models.SET_NULL,
                    blank=True, null=True,
                    to='contenttypes.ContentType',
                    verbose_name='content type',
                )),
                ('user', models.ForeignKey(
                    to=settings.AUTH_USER_MODEL,
                    on_delete=models.CASCADE,
                    verbose_name='user',
                )),
                  ('object_id', models.TextField(null=True, verbose_name='object id', blank=True)),
                  ('object_repr', models.CharField(max_length=200, verbose_name='object repr')),
                  ('action_flag', models.PositiveSmallIntegerField(verbose_name='action flag')),
                  ('change_message', models.TextField(verbose_name='change message', blank=True)),
                ('content_type', models.ForeignKey(
                    to_field='id',
                    on_delete=models.SET_NULL,
                    blank=True, null=True,
                    to='contenttypes.ContentType',
                    verbose_name='content type',
                )),
                ('user', models.ForeignKey(
                    to=settings.AUTH_USER_MODEL,
                    on_delete=models.CASCADE,
                    verbose_name='user',
                )),
                ('content_type', models.ForeignKey(
                    to_field='id',
                    on_delete=models.SET_NULL,
                    blank=True, null=True,
                    to='contenttypes.ContentType',
                    verbose_name='content type',
                )),
                ('user', models.ForeignKey(
                    to=settings.AUTH_USER_MODEL,
                    on_delete=models.CASCADE,
                    verbose_name='user',
                )),
              ],
              options={
                  'ordering': ('-action_time',),
                  'db_table': 'django_admin_log',
                  'verbose_name': 'log entry',
keep keep keep keep replace replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
django/contrib/admin/migrations/0001_initial.py