Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable
This commit is contained in:
@@ -319,7 +319,7 @@ class SortableInlineBase(SortableAdminBase, InlineModelAdmin):
|
|||||||
super(SortableInlineBase, self).__init__(*args, **kwargs)
|
super(SortableInlineBase, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
if not issubclass(self.model, SortableMixin):
|
if not issubclass(self.model, SortableMixin):
|
||||||
raise Warning(u'Models that are specified in SortableTabluarInline'
|
raise Warning(u'Models that are specified in SortableTabularInline'
|
||||||
' and SortableStackedInline must inherit from SortableMixin'
|
' and SortableStackedInline must inherit from SortableMixin'
|
||||||
' (or Sortable for legacy implementations)')
|
' (or Sortable for legacy implementations)')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user