Jacob Rief

Results 514 comments of Jacob Rief

In ``class Image(SortableMixin):`` where is your ``models.Model``?

django-admin-sortable2 is build so that the first field in `ordering` is the field used for sorting. If you would like to have sorting as a second choice, this app would...

Could you please retry with Django-1.9. I just want to ensure, that it's not related to a template issue.

Could you please dump ``MyInlineModel``

I would suggest to do the following: in models.py: ``` class ParentImage(models.Model): image = image.FilerImageField() parent = models.ForeignKey('myapp.Parent') order = models.PositiveIntegerField(default=0, blank=False, null=False) class Meta: ordering = ['order'] class Parent(models.Model):...

I would have to dig deeply into that problem, but I assume it has to do with some django-filer internals. Anyway, what you try to achieve is a sortable M2M-relation...

ups, oversaw that. Well then it's even more weird, because the internal file field does not contain any foreign keys.

They moved it in Django-3.1. Patch is currently prepared.

Sorry, please retest with the latest version from GitHub. I'm currently preparing a new version for it