refer to the correct class

This commit is contained in:
Tim Tisdall 2016-11-30 12:31:15 -05:00 committed by Johannes Hoppe
parent 1f9b094b67
commit 9430a950c2
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ class ModelSelect2Mixin(object):
raise NotImplementedError('%s, must implement "search_fields".' % self.__class__.__name__)
def render_options(self, *args):
"""Render only selected options and set QuerySet from :class:`ModelChoicesIterator`."""
"""Render only selected options and set QuerySet from :class:`ModelChoiceIterator`."""
try:
selected_choices, = args
except ValueError: