@classmethod
    def validate_model_fields(self, new_class):
        for f in new_class._meta.fields:
            if f.name in POLYMORPHIC_SPECIAL_Q_KWORDS:
                e = 'PolymorphicModel: "%s" - field name "%s" is not allowed in polymorphic models'
                raise AssertionError(e % (new_class.__name__, f.name))
L{MemCacheProtocol.decrement} takes an optional argument C{value} which
dataset/ETHPy150Open chrisglass/django_polymorphic/polymorphic/base.py/PolymorphicModelBase.validate_model_fields--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_memcache.py/CommandMixin.test_decrementVal