Aleksi44 / wagtailsvg

Wagtail + SVG
https://pypi.org/project/wagtailsvg/
GNU General Public License v3.0
35 stars 24 forks source link

Django 3.2 generate excessive migrations #9

Closed BakeNecko closed 2 years ago

BakeNecko commented 3 years ago

"Customizing type of auto-created primary keys" in Dkango 3.2 version cause creation of excessive migrrations. In result, pytest throw up errors (makemigrations --check --dry-run). (This happening because of the value of DEFAULT_AUTO_FIELD variable, which are BigAutoField It's could be fixed by setting that variable AutoField)

Aleksi44 commented 3 years ago

Hi @BakeNecko

I have not yet tested wagtailsvg with Django 3.2. I'll probably take care of it soon.

If you want to speed things up, you can give me a PR and I will merge it.