django-multiselectfield icon indicating copy to clipboard operation
django-multiselectfield copied to clipboard

Support Django 5.0

Open chrcorn opened this issue 1 year ago • 1 comments

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

chrcorn avatar Apr 05 '24 16:04 chrcorn

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?

PetrDlouhy avatar Apr 19 '24 16:04 PetrDlouhy

Really appreciate your efforts to make this package Django 5.0 ready! Thanks.

sebastian-muthwill avatar May 21 '24 05:05 sebastian-muthwill