django.conf.settings.AEAT_TEST_MODE

Here are the examples of the python api django.conf.settings.AEAT_TEST_MODE taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : validators.py
with MIT License
from initios

    def to_representation(self, instance):
        instance = super().to_representation(instance)

        if self.include_test_mode and settings.AEAT_TEST_MODE:
            instance['TesIndMES18'] = '0'

        return instance


class ENSForkValidator(ValidatorBase):