django-vote
django-vote copied to clipboard
Update index definition to be compatible with Django 5
fix #88
@Barthelemy, thanks for the PR. Based on the document, it needs a migration to rename the index. Could you add it as well? Also, please update the CI config to include tests for Django 5.2
Thanks for the comment. I did not realize that the migration should be part of the PR, sorry about that. I will also update the CI config.
I have added the migration that Django generated. I am not sure why there is the AlterField though.
I have added the migration that Django generated. I am not sure why there is the
AlterFieldthough.
It's probably related to this change. Could you set DEFAULT_AUTO_FIELD before generating the migration so that the migration is clean for this PR
Things are never as simple as we thought...
Given that the django versions still supported are 4.2, 5.1 and 5.2 I would propose to keep only the support for 4.2.20, 5.1.9, 5.2.1. RenameIndex was introduced in 4.1.
However that might not be what you want ?
@Barthelemy, please go ahead and update the supported versions. Users can always use the previous tag version if needed.