summaryrefslogtreecommitdiff
path: root/tests/regressiontests/views/views.py
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-01-31Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.Aymeric Augustin
Thanks Tim for the report and initial patch.
2012-12-31Fixed #19453 -- Ensured that the decorated function's arguments are ↵Julien Phalip
obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame. Thanks to vzima for the report.
2012-11-17Fixed #19136 -- Properly escape gettext context prefixes in the i18n ↵Jannis Leidel
JavaScript view template.
2012-06-03Fixed #17138 -- Made the sensitive_variables decorator work with object methods.Julien Phalip
2012-04-25Fixed #18033 -- Removed function-based generic views, as per official ↵Claude Paroz
deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-09Fixed #17358 -- Updated logging calls to use official syntax for arguments ↵Jannis Leidel
instead of string interpolation. Thanks, spulec. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert the remainder of the relative imports in the tests to be absolute ↵Alex Gaynor
imports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-08-12Fixed #9847 -- Added 403 response handler. Many thanks to kgrandis, ↵Jannis Leidel
adamnelson, vkryachko, fvox13 and Chris Beaven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-22Fixed #16288 -- Enabled django.request exception logger regardless of DEBUG ↵Carl Meyer
setting. Thanks Matt Bennett for report and draft patch; Vinay Sajip and Russell Keith-Magee for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-08Fixed #14614 - filtering of sensitive information in 500 error reports.Luke Plant
This adds a flexible mechanism for filtering what request/traceback information is shown in 500 error emails and logs. It also applies screening to some views known to be sensitive e.g. views that handle passwords. Thanks to oaylanc for the report and many thanks to Julien Phalip for the patch and the rest of the work on this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Refactored views regression tests to isolate generic views from the root URL ↵Russell Keith-Magee
space. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updates to the test suite to allow for newly deprecated and removed featuresRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-20Fixed #15122 -- Restored reporting of the template files tried in the ↵Ramiro Morales
texmplate loader post mortem section of the TemplateDoesNotExit 500 error debug page. Thanks rdrey for reporting this regression. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #15025 - template debug fails if there's a callable local var that ↵Luke Plant
generates an exception Thanks to Tai Lee for the patch and report, also to Don Spaulding. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #15010 -- Added current_app parameter to close gap between ↵Jannis Leidel
TemplateResponse and render method. Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #14936 -- Tweaked the new render shortcut to reflect non-legacy ↵Russell Keith-Magee
arguments. Thanks to adamv for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #12816 -- Added a render() shortcut.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08Fixed #11461: Ensured complete traceback is available on the debug page when ↵Karen Tracey
an exception is encountered during template rendering, even when running on Python 2.6 or higher. Thanks Glenn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08Move the tests added for #12302 to where some other tests for debug page ↵Karen Tracey
responses already existed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-05Fixed #12083: Ensured generating debug 404 page won't raise a key error. ↵Karen Tracey
Thanks pigletto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-12Fixed #10267 -- Correctly handle IRIs in HttpResponse.build_absolute_uri().Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31Fixed #7529: added a FILES section to the debug view. As a bonus, we've now gotJacob Kaplan-Moss
the start of a suite of tests for the debug views. Thanks, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #7741: django.newforms is now django.forms. This is obviously a ↵Jacob Kaplan-Moss
backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18Fixed #3639: updated generic create_update views to use newforms. This is a ↵Jacob Kaplan-Moss
backwards-incompatible change. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-02Removed unused import.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19Fixed #5506 -- Added some basic tests for date-based generic views. Thanks ↵Russell Keith-Magee
to robh for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17Fixed #5496 -- Added test cases for some of the built-in Django views. ↵Russell Keith-Magee
Thanks to Manuel Saelices <msaelices@yaco.es> for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6370 bcc190cf-cafb-0310-a4f2-bffc1f526a37