@classmethod
def _csv_filter_class_name(cls, filter_class, lookup_type):
    """
        Generate a suitable class name for a concrete filter class. This is not
        completely reliable, as not all filter class names are of the format
        <Type>Filter.

        ex::

            FilterSet._csv_filter_class_name(DateTimeFilter, 'in')

            returns 'DateTimeInFilter'

        """
    type_name = filter_class.__name__
    if type_name.endswith('Filter'):
        type_name = type_name[:-6]
    lookup_name = lookup_type.capitalize()
    return str('%s%sFilter' % (type_name, lookup_name))
