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

A transparent sorted ManyToMany field for django.

Results 30 django-sortedm2m issues
Sort by recently updated
recently updated
newest added

With the bootstrap-admin theme, check box goes missing on the admin interface. But after converting the input type class from checkbox to text, the input checkbox shows itself.

We added the ability to sort using drag'n'drop and select2 autocomplete that is more user friendly that the current filtering approach. We would like to contribute that feature to this...

When the queryset is empty, the widget.js does not handle and the exception occurred: ``` widget.js:27 Uncaught TypeError: Cannot read property 'match' of undefined at prepareUl (widget.js:27) at HTMLUListElement. (widget.js:53)...

When modifying a sortedm2m relationship from the "to" model admin, the default sort value of 0 is used, which means new instance is added to the top of the sorted...

Versions --- django-sortedm2m==3.0.0 Django==3.0.2 Code --- ``` class Parent(Model): children = SortedManyToManyField('Child') ``` The bug --- Given that I have a Parent instance with 3 Children with ids 1, 2,...

In the `_add_items` method in fields: https://github.com/jazzband/django-sortedm2m/blob/master/sortedm2m/fields.py#L83 There is a check if the object being added is an instance of `django.db.models.Model` class. I find that adding a single instance fails...

Hi all, Is it possible to create a string from SortedManyToManyField? For example, if I have a field called toppings from the pizza example, can I get a data-frame like?...

I have noticed a duplicated query while debugging openwisp2 generated by django-sortedm2m. It seems that this line: https://github.com/gregmuellegger/django-sortedm2m/blob/bcb24c829576e14c416066b8018fc8a2dee58b7b/sortedm2m/forms.py#L52 Is evaluating the same queryset twice, hence querying 2 times the database...

While trying to solve some issues and after taking reviews from people, I've observed that the code isn't compliant with the PEP8 guidelines. We can use tools like [autopep8](https://pypi.python.org/pypi/autopep8) to...