We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4617ac0 commit 3ff3d3aCopy full SHA for 3ff3d3a
src/django_crypto_fields/key_path/key_path.py
@@ -54,7 +54,8 @@ def __post_init__(self):
54
KEY_PATH_DOES_NOT_EXIST.format(invalid_path=str(path))
55
)
56
if (
57
- not settings.DEBUG
+ not getattr(settings, "DJANGO_CRYPTO_FIELDS_KEY_PATH_IN_APP_FOLDER", False)
58
+ and not settings.DEBUG
59
and (
60
get_test_module_from_settings()
61
not in list(itertools.chain(*[x.split("/") for x in sys.argv]))
0 commit comments