mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-12 01:20:58 +00:00
Update fields.py
This commit is contained in:
parent
0c46114f56
commit
604130b06e
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ class ModelResultJsonMixin(object):
|
|||
then ``ValueError`` is thrown.
|
||||
|
||||
:return: queryset
|
||||
:rtype: :py:class:`django.db.models.QuerySet`
|
||||
:rtype: :py:class:`django.db.models.query.QuerySet`
|
||||
"""
|
||||
if self.queryset is None:
|
||||
raise ValueError('queryset is required.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue