def custom_filterset_factory(model, filterset_base_class=FilterSet, **meta):
meta.update({"<STR_LIT>": model, "<STR_LIT>": []})<EOL>meta_class = type(str("<STR_LIT:Meta>"), (object,), meta)<EOL>filterset = type(<EOL>str("<STR_LIT>" % model._meta.object_name),<EOL>(filterset_base_class, GrapheneFilterSetMixin),<EOL>{"<STR_LIT:Meta>": meta_class},<EOL>)<EOL>return filterset<EOL>
Create a filterset for the given model using the provided meta data