commit
42224bc626
|
|
@ -310,7 +310,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)')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue