sbdchd / django-types

:doughnut: Type stubs for Django
MIT License
188 stars 62 forks source link

Add RenameIndex migrate operation #165

Closed duilio closed 1 year ago

duilio commented 1 year ago

This adds the RenameIndex operation which is part of Django since 4.1 (https://docs.djangoproject.com/en/4.2/ref/migration-operations/#renameindex).

duilio commented 1 year ago

Not sure how you intend to deal with Django versions compatibility. I think in the case of migrations, most of them are just automatically generated, so if anyone is using RenameIndex is probably because the makemigrations command wrote it.

sbdchd commented 1 year ago

I wouldn't worry about the Django version compatibility, this project isn't really that up to date for it to be an issue I think