Added sortable model that will not be registered as an inline, but will have a non-sortable parent.
This commit is contained in:
@@ -130,3 +130,11 @@ class SortableCategoryWidget(SimpleModel, Sortable):
|
||||
verbose_name_plural = 'Sortable Category Widgets'
|
||||
|
||||
non_sortable_category = SortableForeignKey(NonSortableCategory)
|
||||
|
||||
|
||||
class SortableNonInlineCategory(SimpleModel, Sortable):
|
||||
class Meta(Sortable.Meta):
|
||||
verbose_name = 'Sortable Category Widget'
|
||||
verbose_name_plural = 'Sortable Category Widgets'
|
||||
|
||||
non_sortable_category = SortableForeignKey(NonSortableCategory)
|
||||
|
||||
Reference in New Issue
Block a user