Skip to content

Commit

Permalink
feat: sortable inlines (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav authored Oct 18, 2024
1 parent ba0c335 commit 1f9259d
Show file tree
Hide file tree
Showing 10 changed files with 517 additions and 26 deletions.
4 changes: 4 additions & 0 deletions src/unfold/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,12 @@ def response_add(
class TabularInline(ModelAdminMixin, BaseTabularInline):
formfield_overrides = FORMFIELD_OVERRIDES_INLINE
readonly_preprocess_fields = {}
ordering_field = None
hide_ordering_field = False


class StackedInline(ModelAdminMixin, BaseStackedInline):
formfield_overrides = FORMFIELD_OVERRIDES_INLINE
readonly_preprocess_fields = {}
ordering_field = None
hide_ordering_field = False
Loading

0 comments on commit 1f9259d

Please sign in to comment.