-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel
authored and
Daniel
committed
Nov 8, 2018
1 parent
201a65b
commit 78da08e
Showing
65 changed files
with
1,460 additions
and
1,265 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
from __future__ import absolute_import, unicode_literals | ||
|
||
__all__ = ['VERSION'] | ||
__all__ = ["VERSION"] | ||
|
||
|
||
try: | ||
import pkg_resources | ||
VERSION = pkg_resources.get_distribution('django-debug-toolbar').version | ||
|
||
VERSION = pkg_resources.get_distribution("django-debug-toolbar").version | ||
except Exception: | ||
VERSION = 'unknown' | ||
VERSION = "unknown" | ||
|
||
|
||
# Code that discovers files or modules in INSTALLED_APPS imports this module. | ||
|
||
urls = 'debug_toolbar.toolbar', 'djdt' | ||
urls = "debug_toolbar.toolbar", "djdt" | ||
|
||
default_app_config = 'debug_toolbar.apps.DebugToolbarConfig' | ||
default_app_config = "debug_toolbar.apps.DebugToolbarConfig" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ def inner(request, *args, **kwargs): | |
raise Http404 | ||
|
||
return view(request, *args, **kwargs) | ||
|
||
return inner |
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
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
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
Oops, something went wrong.