You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SortableTabularInline and cannot insert new inline items. The documentation covers SortableAdmin with an example, but it's not very specific about how to use django-suit-sortable for SortableTabularInline, so maybe i got something wrong.
this is my admin configuration:
class TipInline(SortableTabularInline):
model = Tip
extra = 0
sortable = 'order'
fields = ('username', 'text')
suit_classes = 'suit-tab suit-tab-items'
When I create a new inline Tip, the order field is left null. Any idea how it can work?
The text was updated successfully, but these errors were encountered:
I am using SortableTabularInline and cannot insert new inline items. The documentation covers SortableAdmin with an example, but it's not very specific about how to use django-suit-sortable for
SortableTabularInline
, so maybe i got something wrong.this is my admin configuration:
When I create a new inline Tip, the order field is left null. Any idea how it can work?
The text was updated successfully, but these errors were encountered: