Update fields.py

This commit is contained in:
AppleGrew 2013-09-27 20:10:44 +05:30
parent 0c46114f56
commit 604130b06e

View file

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