aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/models.py
AgeCommit message (Collapse)Author
2013-12-11Put debug_toolbar's url patterns firstGavin Wahl
Some applications require using a catch-all urlpattern that must come last in the list of urlpatterns. If the __debug__ urls come after it, they'll never be hit. Putting the debug_toolbar urls first fixes this, but could possibly shadow an existing url, but the old version of debug toolbar did the same thing.
2013-11-30Provide a solution to prevent monkey-patching the settings.Aymeric Augustin
This is necessary to work around extreme cases of circular imports. We really need to reverse URLs at import time and this isn't always possible.
2013-11-24Compatibility with Django 1.7.Aymeric Augustin
2013-11-24Rename all panels consistently.Aymeric Augustin
Enforce absolute imports to avoid clashing with built-in package names. Thanks Jannis for his feedback.
2013-11-13Clear urlresolver caches after monkey-patching URLconf.Aymeric Augustin
2013-11-12Make it possible for panels to provide URLs and views.Aymeric Augustin
Fix #448.
2013-11-12Move the logic to load panels inside the DebugToolbar class.Aymeric Augustin
This has the additional advantage of eliminating a side-effect that happened at import time unnecessarily. It justified refactoring the way we handle settings and defaults.
2013-11-12Remove unnecessary nesting.Aymeric Augustin
2013-11-11Don't set up the toolbar when DEBUG = False.Aymeric Augustin
2013-11-11Simplify monkey-patching of URLs into urlconf.Aymeric Augustin
2013-11-11Automatically enable DebugToolbarMiddleware when it isn't enabled.Aymeric Augustin
2013-11-11Set INTERNAL_IPS to a convenient default when it isn't set.Aymeric Augustin
2013-11-09Simplify code introduced in 7f7ea810.Aymeric Augustin
2013-10-17Enable unicode_literals in all non-empty modules.Aymeric Augustin
2012-05-13Fixed the toolbar loading mechanism to only happen when the middleware has ↵Jannis Leidel
been added to the MIDDLEWARE_CLASSES setting.
2012-04-04Moved loader into models module.Jannis Leidel
2008-09-06Updating rendering to use Django templates and could possibly be overridden.Rob Hudson