django-select2-forms
django-select2-forms copied to clipboard
Django form fields using the Select2 jQuery plugin
I noticed this in `select2/Select2View.py` ``` try: page = int(page) except TypeError: raise InvalidParameter("Invalid page '%s' passed") else: if page < 1: raise InvalidParameter("Invalid page '%s' passed") ``` The value...
We had a project on Python 3.9 and the minute I started using PDM I got this warning, for some reason PDM has revealed the warning: select2/views.py:107: SyntaxWarning: "is" with...
Hi there, sorry for opening an issue for this. I couldn't find any info on this topic in the documentation, can you point me in the right direction? Or is...
Fixes some bugs that I found when trying to implement select2 autocomplete with fixed choices.
Not working in template forms only admin.
Not work with Django 3. `ImportError: cannot import name 'six' from 'django.utils`
We're in the process of finalizing the 4.0 release and are aiming to have it done by the end of this month at the latest. https://select2.github.io/ Since I'm not very...
``` File "/Users/x/Desktop/WorkSpace/TSP/TSP-evaluations/questionnaires/models/misc.py", line 9, in import select2.fields File "/Users/x/.pyenv/versions/3.12.2/lib/python3.12/site-packages/select2/fields.py", line 117, in class Select2ModelFieldMixin(Select2FieldMixin): File "/Users/x/.pyenv/versions/3.12.2/lib/python3.12/site-packages/select2/fields.py", line 141, in Select2ModelFieldMixin choices = property(_get_choices, forms.ChoiceField._set_choices) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'ChoiceField'...
Fixing Issue #52
Currently, this warning pops up when using this lib ``` myuser/venv/lib/python3.10/site-packages/select2/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as...