django-multiselectfield
django-multiselectfield copied to clipboard
Support Django 5.0
The current version is incompatible with Django 5.0. There is no _get_flatchoices in django's CharField anymore, instead Django provides flatchoices directly. Therefore, the following code in db/fields.py should be removed.
this PR is the same as https://github.com/goinnn/django-multiselectfield/pull/143 but with the suggested solution
This PR should also fix the issue : https://github.com/goinnn/django-multiselectfield/issues/142
I am wondering, all tests do pass under Django 5.0 in #147. Could we add a test for this so that it would not pass without this fix?
Really appreciate your efforts to make this package Django 5.0 ready! Thanks.