duck.envΒΆ

Module for getting or setting Duck environment.

Module ContentsΒΆ

FunctionsΒΆ

is_testing_environment

Returns True if Duck is in testing environment, i.e. DUCK_SETTINGS_MODULE="duck.etc.settings.structures.projects.testing.settings.

set_testing_environment

Sets the testing environment for Duck. Useful before Duck setup.

APIΒΆ

duck.env.is_testing_environment()[source]ΒΆ

Returns True if Duck is in testing environment, i.e. DUCK_SETTINGS_MODULE="duck.etc.settings.structures.projects.testing.settings.

duck.env.set_testing_environment()[source]ΒΆ

Sets the testing environment for Duck. Useful before Duck setup.