Merge branch 'master' of github.com:iambrandontaylor/django-admin-sortable

This commit is contained in:
Brandon Taylor
2016-01-27 12:05:12 -05:00
+1 -1
View File
@@ -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)')