aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/utils/sqlparse/lexer.py
diff options
context:
space:
mode:
authorRob Golding2011-03-22 23:57:30 +0000
committerRob Golding2011-03-22 23:57:30 +0000
commitfeaf2f8ebbb073ac57e65dd1ff6c6b26f0ad9941 (patch)
treeeaba3e52a5fe3f7e609269f21c74707935b475e6 /debug_toolbar/utils/sqlparse/lexer.py
parent8cb8abae8cec44909947dbe54e1ed644deeecbd6 (diff)
downloaddjango-debug-toolbar-feaf2f8ebbb073ac57e65dd1ff6c6b26f0ad9941.tar.bz2
Fix issue with __name__ if a class-based view (i.e. a FormWizard) is used
If view_func doesn't have a __name__ attribute, then __class__.__name__ is tried instead. If that doesn't exist either, then '<unknown>' is used.
Diffstat (limited to 'debug_toolbar/utils/sqlparse/lexer.py')
0 files changed, 0 insertions, 0 deletions