summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2012-12-10Amended 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.
2012-12-09Fixed #19392 -- Improved error for old-style url tags with dashes.Aymeric Augustin
Thanks dloewenherz for the report.
2012-12-08Removed US localflavor-specific tests from coreClaude Paroz
Also fixes #9045.
2012-12-08Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overridesClaude Paroz
Thanks joebuyer at manycycles.com for the report and Simon Charette for the review.
2012-12-08Fixed #19357 -- Allow non-ASCII chars in filesystem pathsClaude Paroz
Thanks kujiu for the report and Aymeric Augustin for the review.
2012-12-06Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_validAndreas Hug
Thanks Simon Charette for the report and the initial patch.
2012-12-06Fixed #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.
2012-12-06Fixed #19429 -- Applied linebreaksbr to read-only fields in inlinesMarc Aymerich
Applied to inlines what ec9d6b1122d did for main fieldsets.
2012-12-04Fixed #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.
2012-12-04Fixed the admin_filters tests for Postgres.Julien Phalip
2012-12-04Fixed #19378 -- Ensured get_success_url returns a non-lazy URLClaude Paroz
2012-12-04Merge pull request #573 from tominsam/masterAndrew Godwin
Fixed #19070: urlize template filter raises exception in some cases
2012-12-04Fixed #18697 -- Made values accepted for two customizable admin templates ↵Ramiro Morales
consistent. Thanks and at cloverfastfood dot com for the report.
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-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-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-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".