-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make defaults importable without side-effects #801
Comments
+1. Getting the same (weird) exception. |
Does this pull request work for you? |
Is anyone interested in the patch I submitted above, or should I just drop it and close this issue? |
@aaugustin I've tested the PR now, and it allows for |
Thanks for testing! |
I am trying to use / add to
debug_toolbar.settings.PANELS_DEFAULTS
with django-configurations, but it cannot be imported during setting up the settings:The problem seems to be with the following code:
It triggers the following exception:
It would be good if
PANELS_DEFAULTS
(and possibly other defaults) could be imported without side-effects.The text was updated successfully, but these errors were encountered: