summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-12-10[1.5.X] Fixed a security issue in get_host.Florian Apolloner
Full disclosure and new release forthcoming.
2012-12-10[1.5.X] Fixed #18856 -- Ensured that redirects can't be poisoned by ↵Florian Apolloner
malicious users.
2012-12-10[1.5.x] Amended an SQL test fixture to not include an id valueClaude Paroz
Some backends might need special handling for auto-increment values. This was introduced in 5fa5621f574. Thanks Michael Manfre for spotting the issue. Backport of 0cdfa76e68 from master.
2012-12-09[1.5.x] Fixed #19392 -- Improved error for old-style url tags with dashes.Aymeric Augustin
Thanks dloewenherz for the report. Backport of 4951932 from master.
2012-12-08[1.5.x] Removed US localflavor-specific tests from coreClaude Paroz
Also fixes #9045. Backport of 8248d1402 from master.
2012-12-08[1.5.x] Fixed #19423 -- Prevented ModelAdmin sharing widgets due to ↵Claude Paroz
formfield_overrides Thanks joebuyer at manycycles.com for the report and Simon Charette for the review. Backport of 04e6542b5 from master.
2012-12-08[1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review. Backport of c91667338 from master.
2012-12-06[1.5.x] Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' ↵Andreas Hug
is_valid Thanks Simon Charette for the report and the initial patch. Backport of 66dfcc10b from master.
2012-12-06[1.5.x] Fixed #19367 -- Fixed saving ContentFile in filesystem storageClaude Paroz
This was not working properly when ContentFile was initialized with an unicode string. Thanks Alexey Boriskin for the report and the test. Backport of 34dcf51e06 from master.
2012-12-06[1.5.x] Fixed #19429 -- Applied linebreaksbr to read-only fields in inlinesMarc Aymerich
Applied to inlines what ec9d6b1122d did for main fieldsets. Backport of 553838a28 from master.
2012-12-04[1.5.x] Fixed #18697 -- Made values accepted for two customizable admin ↵Ramiro Morales
templates consistent. Thanks and at cloverfastfood dot com for the report. b64d30405a3d5468dc8c6232747d45bbeee4f7bb from master.
2012-12-04[1.5.x] Fixed #19391 -- Oracle specific failure in testsAnssi Kääriäinen
The failure was caused by using None as a choice for a CharField. To avoid Oracle's "" <-> NULL handling the field type was changed to IntegerField. Backpatch of 632cf32b43609f7d674c81f81f01eb9e4a059f1f
2012-12-04[1.5.x] Fixed the admin_filters tests for Postgres.Julien Phalip
Backport of c196e01100b2
2012-12-04[1.5.x] Fixed #19378 -- Ensured get_success_url returns a non-lazy URLClaude Paroz
Backport of 795ac7deda from master.
2012-12-03[1.5.x] Fixed #19318 -- Ensured that the admin's SimpleListFilter options ↵Sebastián Magrí
can be displayed as selected even if the lookup's first element is not a string. Backport of 88e17156393b
2012-12-03[1.5.x] Fixed #19416 -- Fixed multi-line commands in initial SQL filesClaude Paroz
Thanks Aymeric Augustin for detecting this regression. Backport of 5fa5621f5 from master.
2012-12-03[1.5.x] Fixed #19397 -- Crash on binary files in project templates.Aymeric Augustin
Thanks gw 2012 at tnode com for the report. Backport of baae4b8.
2012-12-01[1.5.x] Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz
Backport of 349c4c37f8 from master.
2012-11-29[1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.idClaude Paroz
Thanks markteisman at hotmail.com for the report. Backport of 0eeae1505 from master.
2012-11-28[1.5.x] Converted a couple of assertEquals -> assertEqualAnssi Kääriäinen
2012-11-28[1.5.x] Fixed #14694 -- Made ``defer()`` work with reverse relationsTai Lee
Reverse o2o fields are now usable with defer. Backpatch of [6ebf115206289bce8f3d86318871faac13d6e835]
2012-11-27[1.5.x] Fixed #19370 -- Made date filter properly handle midnight valueDanilo Bargen
Backport of c10aaa70a from master.
2012-11-27[1.5.x] Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks m3wolf for the report and akaariai for reproducing the problem. Backport of 2ea80b9.
2012-11-25[1.5.x] Fixed #17911 -- Ensure that admin readonly fields' display values ↵Edward Tjörnhammar
are shown in change forms when the raw value is None. Backport of 29d59a879ea5b116
2012-11-25[1.5.x] Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. ↵Julien Phalip
Thanks to rasca for the suggestion and to mateusgondim for the patch. Backport of ae206d78f6d991e
2012-11-25[1.5.x] Fixed test failure following capitalization fix in 2f035a972Claude Paroz
Backport of f26b956e80 from master.
2012-11-25[1.5.x] Change exception type to reduce confusion.Aymeric Augustin
TemplateSyntaxError is expected at compile time, not at run time. Refs #19280. Backport of 7644800.
2012-11-25[1.5.x] Fixed two typos.Aymeric Augustin
Backport of f89901d from master.
2012-11-25[1.5.x] Enabled SimpleTestCase to be decorated by override_settingsClaude Paroz
Refs #18417. Also fixed some test case classes which subclassed the wrong parent. Backport of a5d47415f from master.
2012-11-25[1.5.x] Fixed #18417 -- Raised exception when unittest.TestCase is decorated ↵Claude Paroz
with override_settings Backport of 9f7cefd5 from master.
2012-11-24[1.5.x] Fixed #19280 -- Raised an explicit exception for the old {% url %} ↵Aymeric Augustin
syntax. Backport of 6b8a7ce.
2012-11-24[1.5.x] Used a django.test.TestCase for compatibility with @override_settings.Aymeric Augustin
These tests were silently skipped. Backport of 95edeab.
2012-11-24[1.5.x] Fixed ordering-related failure in m2m_through_regress testsAnssi Kääriäinen
Backpatch of dc569c880143db07e01b3293d698ad8fe4a0136f
2012-11-24[1.5.x] Fixed #19237 -- Improved strip_tags utilityChris Khoo
The previous pattern didn't properly addressed cases where '>' was present inside quoted tag content. Backport of bf1871d87 from master.
2012-11-24[1.5.x] Simplified the deletions performed by the swappable_models test.Russell Keith-Magee
This is required to allow the test to run without error under SQLite in the CI environment. Backport of 18d7c1e.
2012-11-24[1.5.x] Fixed #19806 -- Ensure that content types and permissions aren't ↵Russell Keith-Magee
created for swapped models. Thanks to rizumu for the report. Backport of c8985a8a7317042a641e870cb75b3005cc5d67b1.
2012-11-24[1.5.x] Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objsAnssi Kääriäinen
Backpatch of 0a0a0d66b316598f7c296e8bf75749a14ce3ac49
2012-11-24[1.5.x] Fixed SQLite's collapsing of same-valued instances in bulk_createAnssi Kääriäinen
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem was that there should have been UNION ALL instead of UNION. Refs #19351 Backpatch of a27582484cf814554907d2d1ad077852de36963f
2012-11-23[1.5.x] Fixed #18375 -- Removed dict-ordering dependency for F-expressionsAnssi Kääriäinen
F() expressions reuse joins like any lookup in a .filter() call - reuse multijoins generated in the same .filter() call else generate new joins. Also, lookups can now reuse joins generated by F(). This change is backwards incompatible, but it is required to prevent dict randomization from generating different queries depending on .filter() kwarg ordering. The new way is also more consistent in how joins are reused. Backpatch of 90b86291d022a09031d1df397d7aaebc30e435f7
2012-11-23[1.5.x] Tweak a test to avoid hitting a limit with SQLite.Aymeric Augustin
Django cannot delete more than 999 objects at a time with SQLite. Refs #16426, #16039. Backport of 2875b5d from master.
2012-11-22[1.5.X] Fixed #18974 - Warned against using models.permalinkTim Graham
Thanks dstufft for the draft patch. Backport of 0e3690d230 from master
2012-11-22[1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.Aymeric Augustin
Also reverted 8fb7a9002669fb7ba7bec7df90b465b92e1ed3c2. Refs #17055. Backport of a026e48 from master.
2012-11-22[1.5.x] Fixed #19316 -- Set View args/kwargs/request before dispatchGeorge Hickman
Backport of ea6b95db from master.
2012-11-21[1.5.x] Modified a staticfiles test to use a unicode character that has just ↵Julien Phalip
one single representation. The previously used character (ş) has two different representations (u'\u015f' and u's\u0327'), which caused spurious failures when the tests were run across multiple platforms (e.g. on a Linux VM hosted on a Mac).
2012-11-19[1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user APIPreston Holmes
Thanks to Lowe Thiderman for the patch and tests
2012-11-17[1.5.x] Test for `ListView.page_kwarg`Tom Christie
(cherry picked from commit f824a951776db86c04aaefc1e7c1c12ffb84c798)
2012-11-17[1.5.x] Fixed #19114 -- Fixed LogEntry unicode representationClaude Paroz
Thanks niko at neagee.net for the report and Emil Stenstrom for the patch. Backport of e0363c688 from master.
2012-11-17[1.5.x] Fixed #19036 -- Fixed base64 uploads decodingClaude Paroz
Thanks anthony at adsorbtion.org for the report, and johannesl for bringing the patch up-to-date. Backport of 2a67374b5 from master.
2012-11-17[1.5.x] Fixed #19226 -- Applied linebreaksbr to read-only fields in adminClaude Paroz
Thanks shadow for the report, and Melevir and thiderman for the patch. Backport of ec9d6b112 from master.
2012-11-17[1.5.x] Fixed typo introduced in 0e3f7814d7106768e8eafcba0e74238fcdb90f9d.Jannis Leidel