Skip to content

Commit 67415af

Browse files
committed
Remove debug.py's dependency on django. Set debug.debug in settings.py instead.
- Legacy-Id: 11948
1 parent a2ef156 commit 67415af

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

debug.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,12 @@
1818
import cProfile
1919
import traceback as tb
2020

21-
try:
22-
from django.conf import settings
23-
debug = settings.DEBUG
24-
except ImportError:
25-
debug = True
26-
2721
# A debug decorator, written by Paul Butler, taken from
2822
# http://paulbutler.org/archives/python-debugging-with-decorators/
2923
# Additional functions and decorator functionality added by
3024
# Henrik Levkowetz
3125

32-
__version__ = "0.15"
26+
__version__ = "0.16"
3327

3428
increment = 2
3529

0 commit comments

Comments
 (0)