summaryrefslogtreecommitdiff
path: root/django/views/debug.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML ↵Tim Graham2017-04-151-1/+1
| | | | | debug page. Regression in 7b6dccc82fa5b03cf431742c0655e5ac954e228e
* Fixed #28007 -- Moved debug templates to the filesystemClaude Paroz2017-04-121-746/+14
| | | | Thanks Tim Graham for the review.
* Fixed #27987 -- Added default colors in debug view CSS.Ionuț Ciocîrlan2017-03-281-1/+1
|
* Refs #27656 -- Updated django.views docstring verbs according to PEP 257.Anton Samarchyan2017-03-031-20/+21
|
* Refs #23919 -- Removed an used block in ExceptionReporter.get_traceback_data().Tim Graham2017-02-091-3/+0
| | | The test from refs #20368 only runs this block on Python 2.
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-1/+1
| | | | Thanks Tim Graham for the review.
* Removed unused ExceptionReporter.format_exception() method.Tim Graham2017-02-011-12/+0
| | | | Unused since its introduction in e7e4b8b0f774b119bc1c46a62a97e51d7c8a35e3.
* Removed ExceptionReporter support for string exceptions.Tim Graham2017-02-011-5/+0
| | | | | Reverted refs #6423 since raising string exceptions is prohibited since Python 2.5.
* Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis2017-01-261-2/+2
|
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-2/+2
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-3/+3
|
* Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin2017-01-181-2/+3
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-5/+5
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-7/+3
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #26601 -- Removed support for old-style middleware using ↵Tim Graham2017-01-171-4/+4
| | | | settings.MIDDLEWARE_CLASSES.
* Removed an unnecessary, discouraging sentence on the "It worked!" page.Merrin Macleod2016-12-131-1/+0
|
* Fixed #27567 -- Fixed crash in the debug view when request.user errors.Andreas Pelme2016-12-061-3/+15
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Fixed #27373 -- Corrected 404 debug page message for an empty request path.Mariusz Felisiak2016-10-271-1/+5
|
* Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham2016-09-171-1/+1
| | | | http://bugs.python.org/issue27364
* Fixed #27191 -- Fixed debug view crash for requests with 'items' in ↵Anatoly Burov2016-09-071-18/+22
| | | | GET/POST/COOKIES/FILES.
* Replaced smart_* by force_* calls whenever possibleClaude Paroz2016-09-031-3/+3
| | | | | The smart_* version should only be used when a lazy string should keep its lazy status.
* Fixed #26938 -- Fixed invalid HTML in template postmortem on the debug page.Jon Dufresne2016-07-241-1/+0
|
* Fixed XSS in admin's add/change related popup.Tim Graham2016-07-181-2/+2
| | | | This is a security fix.
* Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner2016-05-171-2/+4
| | | | | Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
* Fixed E128 flake8 warnings in django/.Tim Graham2016-04-081-6/+10
|
* Fixed W503 flake8 warnings.Tim Graham2016-04-041-9/+10
|
* Fixed #25670 -- Allowed dictsort to sort a list of lists.Andrew Kuchev2016-02-231-5/+5
| | | | Thanks Tim Graham for the review.
* Fixed #26209 -- Masked sensitive settings in debug reports regardless of case.François Freitag2016-02-111-1/+1
|
* Refs #25755 -- Unified a couple more spellings of 'website'.pp2016-01-111-1/+1
|
* Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek2015-12-311-1/+1
| | | | Thanks to Tim Graham for the review.
* Fixed #25037 -- Added request.user to the debug view.John Moses2015-10-051-0/+7
|
* Removed unused views.debug.linebreak_iter() function.Tim Graham2015-09-241-9/+0
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-5/+7
|
* Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost.Vlastimil Zíma2015-09-041-3/+3
|
* Refs #25236 -- Removed ifequal/ifnotequal usage.Tim Graham2015-08-081-7/+7
|
* Fixed #25147 -- Fixed debug view copy-paste/interactive toggle.Tim Graham2015-07-201-1/+1
| | | | | The whitespace added in 1101467ce0756272a54f4c7bc65c4c335a94111b broke the initial comparison.
* Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.Vlastimil Zíma2015-07-131-16/+7
|
* Improved whitespace in debug templates.Tim Graham2015-07-131-24/+26
| | | | | Removed extra blank lines in the template text debug template, and prevented overindentation in the HTML debug template.
* Ref #23643 -- Added plain text report of exception chain.Tomáš Ehrlich2015-06-011-4/+9
|
* Refs #23643 -- Fixed debug view regression on Python 2.Luca Ferroni2015-05-291-2/+4
| | | | Thanks Tomáš Ehrlich for help with the patch.
* Fixed #24119, #24120 -- Formalized debug integration for template backends.Preston Timmons2015-05-061-23/+5
|
* Improved display of template loader postmortem on debug page.Preston Timmons2015-04-221-73/+57
| | | | | | | This now works for multiple Django engines and recursive loaders. Support for non-Django engines is still pending. Refs #15053.
* Removed cases of six.iter* wrapped in a list()Curtis Maloney2015-04-181-1/+1
| | | | | There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases.
* Fixed #24440 -- Added padding to debug view stacktrace lines.andy matthews2015-03-231-2/+2
|
* Cleaned up the template debug implementation.Preston Timmons2015-03-201-48/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This patch does three major things: * Merges the django.template.debug implementation into django.template.base. * Simplifies the debug implementation. The old implementation copied debug information to every token and node. The django_template_source attribute was set in multiple places, some quite hacky, like django.template.defaulttags.ForNode. Debug information is now annotated in two high-level places: * Template.compile_nodelist for errors during parsing * Node.render_annotated for errors during rendering These were chosen because they have access to the template and context as well as to all exceptions that happen during either the parse or render phase. * Moves the contextual line traceback information creation from django.views.debug into django.template.base.Template. The debug views now only deal with the presentation of the debug information.
* Fixes #23643 -- Added chained exception details to debug view.Tomáš Ehrlich2015-03-141-3/+52
|
* Fixed #24455 -- Fixed crash in debug view with lazy objectsBas Peschier2015-03-091-1/+9
|
* Fixed #24399 -- Made filesystem loaders use more specific exceptions.Preston Timmons2015-03-031-4/+0
|