Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/handlers
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #17133 -- Properly handled successive slashes in ↵Claude Paroz2015-10-231-0/+11
| | | | | | incoming requests Thanks gjanee@ucop.edu for the report and Tim Graham for the review.
* Fixed #24829 -- Allowed use of TemplateResponse in view ↵ana-balica2015-06-172-0/+31
| | | | error handlers.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-6/+6
|
* Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URLBas Peschier2015-03-081-1/+12
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-4/+5
|
* Fixed #23887 -- Returned Bad Request for multipart ↵Claude Paroz2014-11-223-0/+21
| | | | | | | parsing fails Thanks Antti Häyrynen and Tim Graham for the report, and Aymeric Augustin for the review.
* Fixed #19508 -- Implemented uri_to_iri as per RFC.Anubhav Joshi2014-10-151-0/+25
| | | | | Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review.
* Adapted invalid cookie test to all Python versionsClaude Paroz2014-10-141-1/+4
| | | | | | Refs #23638. Older Python versions are less strict when parsing invalid cookie content. The test just has to ensure Django doesn't crash.
* Fixed #23638 -- Prevented crash while parsing invalid ↵Claude Paroz2014-10-131-0/+10
| | | | | | cookie content Thanks Philip Gatt for the report and Tim Graham for the review.
* Fixed #21483 -- Added WSGI environ to kwargs sent to ↵Joshua "jag" Ginsberg2014-08-291-0/+3
| | | | request_started signal.
* Fixed flake8 warnings.Tim Graham2014-08-201-4/+4
|
* Fixed #22996 -- Prevented crash with unencoded query stringClaude Paroz2014-08-191-7/+23
| | | | | Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham for the reviews.
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-3/+3
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-031-3/+3
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Imported override_settings from its new location.Aymeric Augustin2013-12-231-1/+1
|
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-0/+0
| | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
* PEP8 cleanupJason Myers2013-11-031-0/+5
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #20530 -- Properly decoded non-ASCII query strings ↵Aymeric Augustin2013-09-071-0/+13
| | | | | | | | on Python 3. Thanks mitsuhiko for the report. This commit just adds a test since the problem was fixed in 8aaca651.
* Fixed tests introduced in previous commit on Python 2. ↵Aymeric Augustin2013-09-071-3/+8
| | | | Refs #20557.
* Fixed #20557 -- Properly decoded non-ASCII cookies on ↵Aymeric Augustin2013-09-071-2/+13
| | | | | | | | | Python 3. Thanks mitsuhiko for the report. Non-ASCII values are supported. Non-ASCII keys still aren't, because the current parser mangles them. That's another bug.
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+2
| | | | Fixed #20483.
* Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-263-0/+14
| | | | | | | | | | | | SuspiciousOperation. SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
* Changed API to disable ATOMIC_REQUESTS per view.Aymeric Augustin2013-05-191-2/+2
| | | | | | | A decorator is easier to apply to CBVs. Backwards compatibility isn't an issue here, except for people running on a recent clone of master. Fixed a few minor problems in the transactions docs while I was there.
* Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED.Aymeric Augustin2013-03-113-6/+50
| | | | | | | Replaced them with per-database options, for proper multi-db support. Also toned down the recommendation to tie transactions to HTTP requests. Thanks Jeremy for sharing his experience.
* Implemented persistent database connections.Aymeric Augustin2013-02-281-5/+12
| | | | Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-261-1/+1
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-264-0/+69