Skip to content

Automatic setup with explicit fallback #456

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

Merged
merged 6 commits into from
Nov 11, 2013
Merged

Automatic setup with explicit fallback #456

merged 6 commits into from
Nov 11, 2013

Conversation

aaugustin
Copy link
Contributor

I'm very excited about this!

In the general case, it makes installing the debug toolbar as simple as adding debug_toolbar to INSTALLED_APPS. (It isn't necessary to edit MIDDLEWARE_CLASSES any more).

However, users retain full control of the installation: they can perform the installation steps explicitly instead. This will be especially helpful for people with complex URLconf setups that hit limits of the toolbar's support for per-request URLconfs. It should fix issues #441, #421, #300, #277, #254, #84 and make it possible to fix #448.

@robhudson @dcramer @jezdez do you think this will work?

@jezdez
Copy link
Contributor

jezdez commented Nov 11, 2013

Holy crap, on a cursory look this is amazing. Thanks @aaugustin! +1

aaugustin added a commit that referenced this pull request Nov 11, 2013
Simplify installation and provide more control.
@aaugustin aaugustin merged commit 84c3368 into django-commons:master Nov 11, 2013
@aaugustin aaugustin deleted the automagic-setup branch November 11, 2013 19:31
ryneeverett pushed a commit to ryneeverett/django-debug-toolbar that referenced this pull request Oct 2, 2016
Simplify installation and provide more control.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better support for 3rd party panels needing URLs/views.
2 participants