summaryrefslogtreecommitdiff
path: root/django/views/debug.py
AgeCommit message (Collapse)Author
2007-06-22boulder-oracle-sprint: Merged to [5511]archive/attic/boulder-oracle-sprintBoulder Sprinters
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-18boulder-oracle-sprint: Merged to [5490]Boulder Sprinters
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11boulder-oracle-sprint: Merged to [5462]Boulder Sprinters
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-23boulder-oracle-sprint: Merged to [5061]Boulder Sprinters
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09boulder-oracle-sprint: Merged to [4989]Boulder Sprinters
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30Fixed #2968 -- Changed arguments to __import__ to use empty dictionary ↵Adrian Holovaty
instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24Avoid displaying the profanities list in the debug output. Makes it a bit moreMalcolm Tredinnick
"safe for work". git-svn-id: http://code.djangoproject.com/svn/django/trunk@3813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-05Added some escaping of request.path to django/views/debug.py. Thanks, Simon ↵Adrian Holovaty
Greenhill git-svn-id: http://code.djangoproject.com/svn/django/trunk@3722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-04Changed template names from [3707] to remove initial caps, to fit our style.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-02Refs #2333 - Re-added the template rendering signal for testing purposes; ↵Russell Keith-Magee
however, the signal is not available during normal operation. It is only added as part of an instrumentation step that occurs during test framework setup. Previous attempt (r3659) was reverted (r3666) due to performance concerns. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27Reverted [3659], the 'name' field on Template objects and the signal emitted ↵Adrian Holovaty
whenever a template is rendered. Refs #2333. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27Refs #2333 - Added a signal that is emitted whenever a template is rendered, ↵Russell Keith-Magee
and added a 'name' field to Template to allow easy identification of templates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Second half of little cleanup tweaks suggested by pyflakes.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Fixed #2092: added a "is_secure()" method to HttpRequest which correctly ↵Jacob Kaplan-Moss
handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14Fixed #2153 -- display debugging template even if no stack frame is found.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06Fixed #1785 -- debug view no longer assumes _get_lines_from_file returns ↵Adrian Holovaty
None. Thanks, django@binaryfeed.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@2864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02Fixed #1059 -- Fixed off-by-one line number in heading of debug error pages.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28Fixed #1420 -- Added copy-and-paste (pastebin-friendly) toggle for debug ↵Adrian Holovaty
view. Thanks, jpaulofarias git-svn-id: http://code.djangoproject.com/svn/django/trunk@2444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27Fixed #1059 -- Fixed line numbers off-by-one error in debug outputAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19Fixed a bunch of errors detected by pychecker -- unneeded imports and ↵Adrian Holovaty
shadows of builtin variable names git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05Changed debug error view to escape the exception value, so that values in ↵Adrian Holovaty
angle brackets aren't hidden by browsers git-svn-id: http://code.djangoproject.com/svn/django/trunk@1825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09Fixed #998 -- Fixed edge-case bug in debug view for templates with only one ↵Adrian Holovaty
line. Thanks, andy@jadedplanet.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@1578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07Added 'It worked' page, in a empty_urlconf() view in views/debug.py. It's ↵Adrian Holovaty
called if the URLconf is empty. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06Debug 400 page now displays special error message if your URLconf is empty.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25now really fixed the source formatting. brought to you by the magics of ↵Georg Bauer
IRC-based pair programming git-svn-id: http://code.djangoproject.com/svn/django/trunk@1407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24just another small fix to the template_debug layoutGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24fixed debug view for templates so it starts counting with 1Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24small fix to the template_debug stuff, it was dropping last characters and ↵Georg Bauer
didn't split the first line correctly git-svn-id: http://code.djangoproject.com/svn/django/trunk@1403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24Fixed #892 -- TemplateDoesNotExist errors now get a 'Template-loader ↵Adrian Holovaty
postmortem' section on the pretty debug page. Thanks for the idea, David Ascher git-svn-id: http://code.djangoproject.com/svn/django/trunk@1400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24changed the linebreaks_iter function to use str.find instead of re.finditer, ↵Georg Bauer
because the latter one has problems with Python 2.3 git-svn-id: http://code.djangoproject.com/svn/django/trunk@1385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Added Wilson's HTML tweaks to the template error screenAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Added Wilson's CSS tweaks to the template error screenAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23Fixed #603 -- Added template debugging errors to pretty error-page output, ↵Adrian Holovaty
if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22Fixed #874 -- Changed debug views to use text/html mime-type instead of ↵Adrian Holovaty
DEFAULT_CONTENT_TYPE. Thanks, Sune git-svn-id: http://code.djangoproject.com/svn/django/trunk@1351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Fixed #842 -- 500 error view no longer breaks for local variable named ↵Adrian Holovaty
'items'. Thanks, rjwittams git-svn-id: http://code.djangoproject.com/svn/django/trunk@1297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17Fixed #825; thanks for the suggestions, aaronswJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17Fixed #823 - cleaned up invalid HTML in debug error template. Thanks, SuneJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17Fixed #822 -- Changed 500 view to use disclosure triangles instead of ↵Adrian Holovaty
up/down arrows. Thanks, aaronsw git-svn-id: http://code.djangoproject.com/svn/django/trunk@1272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15Fixed #799: any setting with "SECRET" or "PASSWORD" in the name is escaped ↵Jacob Kaplan-Moss
in the debug view output (this can be expanded if there are other "naughty words" we want to strip out in the future. Thanks, Ian git-svn-id: http://code.djangoproject.com/svn/django/trunk@1242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Added NOINDEX tag to debug 500 page (for robots)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Added "pretty" error pages to be used when DEBUG is True.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1233 bcc190cf-cafb-0310-a4f2-bffc1f526a37