Merge pull request #124 from mexicat/patch-1

Fix typo in warning
master
Brandon Taylor 2016-01-12 10:28:33 -05:00
commit 42224bc626
1 changed files with 1 additions and 1 deletions

View File

@ -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)')