def filter_include_networks(self, queryset, value):
        include_ips = qpbool(self.form.cleaned_data['include_ips'])
        include_networks = qpbool(value)

        if not all([include_networks, include_ips]):
            if include_networks:
                return queryset.filter(is_ip=False)
            else:
                return queryset.exclude(is_ip=False)

        return queryset
Converts ``include_networks`` to queryset filters.
dataset/ETHPy150Open dropbox/nsot/nsot/api/filters.py/NetworkFilter.filter_include_networks