Fix regressions from Django 3.2.

Review Request #11580 — Created April 6, 2021 and updated

chipx86
Django Evolution
release-2.x
django-evolution

Django 3.2 was just released, and triggered some regressions with
Postgres and for index generation.

The index generation issue was just a matter of converting a positional
argument to a keyword argument. This change was backwards-compatible to
all supported versions of Django.

The Postgres issue was caused by the Postgres backend requiring access
to a field's model when renaming a field. We weren't setting the model
on these fields before, and there was no good reason for this. We now
set the model, fixing this issue.

Unit tests pass on all supported versions of Django, and with all
database types.

Summary
Fix regressions from Django 3.2.
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
david
  1. Ship It!
  2. 
      
Loading...