@classonlymethod
    def as_view(cls, **kwargs):
        # Normalize the setting.
        parameters = cls.sensitive_post_parameters
        if isinstance(parameters, six.string_types):
            parameters = (parameters,)
        elif isinstance(parameters, collections.Iterable):
            parameters = tuple(parameters)
        elif parameters:
            parameters = ()
        else:
            parameters = None
        
        view = super(SensitivePostParameters, cls).as_view(**kwargs)
        return (
            debug.sensitive_post_parameters(*parameters)(view)
                if parameters is not None
                else view)
None is coerced to the given default.
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/views/behaviors/debug.py/SensitivePostParameters.as_view--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_pagination.py/TestPositiveInteger.test_none