summaryrefslogtreecommitdiff
path: root/django/views/debug.py
AgeCommit message (Collapse)Author
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