Created
March 10, 2023 14:49
-
-
Save FernandoCelmer/27c01146df3b771b84ef6c26ebf07bf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings_module = __import__("settings.development", globals(), fromlist=[None], level=0) | |
for settings in dir(settings_module): | |
if not (settings.startswith('_') or settings.endswith('_')): | |
globals()[settings] = getattr(settings_module, settings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment