summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-12-03Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be ↵Sebastián Magrí
displayed as selected even if the lookup's first element is not a string.
2012-12-03Fixed #19416 -- Fixed multi-line commands in initial SQL filesClaude Paroz
Thanks Aymeric Augustin for detecting this regression.
2012-12-03another failing test case for square brackets.Tom Insam
2012-12-03Fixed #19397 -- Crash on binary files in project templates.Aymeric Augustin
Thanks gw 2012 at tnode com for the report.
2012-12-02Fixed #17050 -- Added some CSS class names to the admin index pages to ↵Julien Phalip
facilitate per-app or per-model style customizations. Thanks to scytale for the report and to H0ff1 and thiderman for their work on the patch.
2012-12-01Fixed #19015 -- Add ISO input formats to all formatsClaude Paroz
2012-11-29Fixed #19354 -- Do not assume usermodel.pk == usermodel.idClaude Paroz
Thanks markteisman at hotmail.com for the report.
2012-11-28Converted a couple of assertEquals -> assertEqualAnssi Kääriäinen
2012-11-28Fixed #14694 -- Made ``defer()`` work with reverse relationsTai Lee
Reverse o2o fields are now usable with defer.
2012-11-27Fixed #19370 -- Made date filter properly handle midnight valueDanilo Bargen
2012-11-27Made some tests behave nicer re connection handlingAnssi Kääriäinen
2012-11-27Fixed #19362 -- Detected invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks m3wolf for the report and akaariai for reproducing the problem.
2012-11-25Fixed #17911 -- Ensure that admin readonly fields' display values are shown ↵Edward Tjörnhammar
in change forms when the raw value is None.
2012-11-25Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to ↵Julien Phalip
rasca for the suggestion and to mateusgondim for the patch.
2012-11-25Fixed test failure following capitalization fix in 2f035a972Claude Paroz
2012-11-25Change exception type to reduce confusion.Aymeric Augustin
TemplateSyntaxError is expected at compile time, not at run time. Refs #19280.
2012-11-25Fixed two typos.Aymeric Augustin
2012-11-25Enabled SimpleTestCase to be decorated by override_settingsClaude Paroz
Refs #18417. Also fixed some test case classes which subclassed the wrong parent.
2012-11-25Fixed #18417 -- Raised exception when unittest.TestCase is decorated with ↵Claude Paroz
override_settings
2012-11-24Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.Aymeric Augustin
2012-11-24Used a django.test.TestCase for compatibility with @override_settings.Aymeric Augustin
These tests were silently skipped.
2012-11-24Fixed ordering-related failure in m2m_through_regress testsAnssi Kääriäinen
2012-11-24Fixed #19237 -- Improved strip_tags utilityChris Khoo
The previous pattern didn't properly addressed cases where '>' was present inside quoted tag content.
2012-11-24Simplified 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.
2012-11-24Fixed #19806 -- Ensure that content types and permissions aren't created for ↵Russell Keith-Magee
swapped models. Thanks to rizumu for the report.
2012-11-24Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objsAnssi Kääriäinen
2012-11-24Fixed 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
2012-11-23Fixed #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.
2012-11-23Tweak 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.
2012-11-22Fixed #18974 - Warned against using models.permalinkTim Graham
Thanks dstufft for the draft patch.
2012-11-22Fixed #16039 -- Made post_syncdb handlers multi-db aware.Aymeric Augustin
Also reverted 8fb7a9002669fb7ba7bec7df90b465b92e1ed3c2. Refs #17055.
2012-11-22Fixed #19316 -- Set View args/kwargs/request before dispatchGeorge Hickman
2012-11-22Merge branch 'ticket_19325' of https://github.com/hannesstruss/django into ↵Jannis Leidel
hannesstruss-ticket_19325
2012-11-21Modified a staticfiles test to use a unicode character that has just one ↵Julien Phalip
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-21Updated assertions in pagination testClaude Paroz
assertEquals is a deprecated assertion alias.
2012-11-21Add orphans support to MultipleObjectMixinChris Beaven
Fixes #7005
2012-11-21Paginator._get_page hookChris Beaven
This allows for Paginator subclasses to easily override the Page class that gets used. Took the opportunity to also do some non-invasive PEP8 tidying of the paginator module.
2012-11-20Fixed #19325 - Made email backend of AdminEmailHandler configurableHannes Struss
2012-11-19Fixed #18658 -- Improved ModelAdmin.message_user APIPreston Holmes
Thanks to Lowe Thiderman for the patch and tests
2012-11-17Merge pull request #467 from tomchristie/page-kwargJannis Leidel
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17Fixed #19114 -- Fixed LogEntry unicode representationClaude Paroz
Thanks niko at neagee.net for the report and Emil Stenstrom for the patch.
2012-11-17Fixed #19036 -- Fixed base64 uploads decodingClaude Paroz
Thanks anthony at adsorbtion.org for the report, and johannesl for bringing the patch up-to-date.
2012-11-17Fixed #19226 -- Applied linebreaksbr to read-only fields in adminClaude Paroz
Thanks shadow for the report, and Melevir and thiderman for the patch.
2012-11-17Fixed typo introduced in 4a5e8087ac7676ef08e76275c1f756778b39c13e.Jannis Leidel
2012-11-17Merge pull request #490 from gabrielhurley/reverse-prefix-special-charsJannis Leidel
Fixed #18210 -- Escaped special characters in reverse prefixes.
2012-11-17Fixed #19136 -- Properly escape gettext context prefixes in the i18n ↵Jannis Leidel
JavaScript view template.
2012-11-16Fixed #18985 -- made DeprecationWarnings loudPreston Holmes
Capture warnings in Python >= 2.7 and route through console handler, which is subject to DEBUG==True Thanks to dstufft for the idea, and claudep for initial patch
2012-11-15Fixed #18347 -- Removed autofield raw SQL inserts from testsAnssi Kääriäinen
2012-11-15Fixed #13781 -- Improved select_related in inheritance situationsAnssi Kääriäinen
The select_related code got confused when it needed to travel a reverse relation to a model which had different parent than the originally travelled relation. Thanks to Trac aliases shauncutts for report and ungenio for original patch (committed patch is somewhat modified version of that).
2012-11-14Fixed #19272 -- Fixed gettext_lazy returned type on Python 2Claude Paroz
Thanks tyrion for the report.