def __init__(self, data=None, queryset=None, prefix=None, strict=None):
    self.is_bound = (data is not None)
    self.data = (data or {})
    if (queryset is None):
        queryset = self._meta.model._default_manager.all()
    self.queryset = queryset
    self.form_prefix = prefix
    if (strict is not None):
        self.strict = strict
    self.filters = copy.deepcopy(self.base_filters)
    for filter_ in self.filters.values():
        filter_.model = self._meta.model
    for (filter_key, filter_) in six.iteritems(self.filters):
        filter_.parent = self
def __init__(self, data=None, queryset=None, prefix=None, strict=None):
    self.is_bound = (data is not None)
    self.data = (data or {})
    if (queryset is None):
        queryset = self._meta.model._default_manager.all()
    self.queryset = queryset
    self.form_prefix = prefix
    if (strict is not None):
        self.strict = strict
    self.filters = copy.deepcopy(self.base_filters)
    for filter_ in self.filters.values():
        filter_.model = self._meta.model
    for (filter_key, filter_) in six.iteritems(self.filters):
        filter_.parent = self