Update fields.py

This commit is contained in:
AppleGrew 2013-09-27 20:08:09 +05:30
parent 8cb1b0d82f
commit 0c46114f56

View file

@ -341,8 +341,8 @@ class FilterableModelChoiceIterator(ModelChoiceIterator):
"""
Applies additional filter on the queryset. This can be called multiple times.
:param kwargs: The ``**kwargs`` to pass to :py:meth:`django.db.models.query.QuerySet.filter`.
If this is not set then additional filter (if) applied before is removed.
:param filter_map: The ``**kwargs`` to pass to :py:meth:`django.db.models.query.QuerySet.filter`.
If this is not set then additional filter (if) applied before is removed.
"""
if not hasattr(self, '_original_queryset'):
import copy