summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-12-04Refs #18586 -- Split up order_with_respect_to testsHelen ST
2014-12-04Fixed #23920 -- Fixed MySQL crash when adding blank=True to TextField.Tim Graham
Thanks wkornewald for the report and Markus Holtermann for review.
2014-12-04Fixed #23911 -- Added support for buffer file uploads in the test clientThomas Tanner
2014-12-03Converted recently refactored templates tests to SimpleTestCase.Ramiro Morales
These test methods don't need DB setup/teardown. Refs #23768 and b872134b.
2014-12-03Refs #18586 -- Split up model_inheritance.ModelInheritanceTestAlexander Shchapov
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-12-03Added a test to verify headers set by default middleware; refs #23939.Tim Graham
2014-12-03Refactored some tests to take advantage of refs #20392.Thomas Chaumeny
2014-12-03Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny
Each TestCase is also now wrapped in a class-wide transaction.
2014-12-03Fixed #23950 -- Prevented calling deconstruct on classes in MigrationWriter.Gavin Wahl
2014-12-03Fixed #23935 -- Converted decimals to fixed point in utils.numberformat.formatEric Rouleau
2014-12-03Fixed "no such test method" error in template_tests.Berker Peksag
Without this patch, you couldn't run an individual test case in template_tests. Refs #23768
2014-12-02Fixed #23768 -- Rewrote template tests as unit tests.Preston Timmons
2014-12-03Marked some tests as expected failures on Oracle/cx_Oracle<=5.1.3/Python3Shai Berger
Refs #23843 which is really a cx_Oracle bug
2014-12-02Fixed #23934 -- Fixed regression in admin views obj parameter.Kamil Braun
2014-12-02Ensured foreign_object tests reset language properly.Preston Timmons
2014-12-01Fixed #23807 -- Ignored non-digits in psycopg2 versionAndriy Sokolovskiy
2014-12-01Fixed selenium test failure of JavascriptI18nTests.Tim Graham
The failure was introduced in dd1ea70779adff294140eddb0229c382e12f32f3. The tests wouldn't start due to a "Dependency on unknown app" error.
2014-12-01Fixed #23289 -- Added mock as a test dependency.Tim Graham
2014-12-01Fixed admin_views test from refs #7361 (name was too long).Tim Graham
2014-12-01Fixed #23909 -- Prevented crash when collecting SQL for RunSQLClaude Paroz
Thanks James Rivett-Carnac for the report and Markus Holtermann for the review.
2014-12-01Fixed #18586 -- Split up model_package.ModelPackageTests.Alexander Shchapov
2014-12-01Corrected a docstring in tests/migrations/test_operations.py.wrwrwr
2014-12-01Removed an incorrect docstring in tests/multiple_database/tests.py.wrwrwr
2014-12-01Removed a no-op statement in tests/multiple_database/tests.py.wrwrwr
2014-12-01Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs ↵wrwrwr
#23933.
2014-12-01Fixed #23933 -- Made override_settings(DATABASE_ROUTERS) affect the master ↵wrwrwr
router.
2014-12-01Fixed #23880 -- Added missing index_together handling for SQLiteMarkus Holtermann
2014-11-29Fixed #23930 -- Added copies of captured_std* managers from CPython's ↵wrwrwr
test.support. StringIO import was adapted for compatibility with Python 2.
2014-11-29Fixed #17890 -- Added an extra_context parameter to AdminSite.password_change().Berker Peksag
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham
2014-11-28Silenced all admin validation warnings.Tim Graham
Warnings could escape depending on the order in which tests were run.
2014-11-28Fixed #23423 -- Added unaccent lookup in django.contrib.postgresThomas Chaumeny
2014-11-28Corrected deprecation warnings for RedirectView; refs #21587.Berker Peksag
2014-11-28Fixed #23728 -- Added the --exit option to makemigrations.Tim Heap
If no changes that need migrations are found, `makemigrations --exit` exits with error code 1.
2014-11-28Fixed #23853 -- Added Join class to replace JoinInfoAnssi Kääriäinen
Also removed Query.join_map. This structure was used to speed up join reuse calculation. Initial benchmarking shows that this isn't actually needed. If there are use cases where the removal has real-world performance implications, it should be relatively straightforward to reintroduce it as map {alias: [Join-like objects]}.
2014-11-28Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen
Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
2014-11-28Fixed #23894 -- Made deconstruct methods favor kwargs over argsMarkus Holtermann
2014-11-28Fixed #23910 -- Added reply_to parameter to EmailMessageMartin Blech
Thanks to Berker Peksag and Tim Graham for the review and suggestions.
2014-11-28Fixed #16731 -- Made pattern lookups work properly with F() expressionsThomas Chaumeny
2014-11-27Fixed #23338 -- Added warning when unique=True on ForeigKeyDiego Guimarães
Thanks Jonathan Lindén for the initial patch, and Tim Graham and Gabe Jackson for the suggestions.
2014-11-27Fixed #23924 -- Made EmailMessage raise TypeError for type checksMartin Blech
2014-11-27Fixed cache state dependence for assertNumQueries in ↵wrwrwr
test_group_permission_performance. Refs #20432 and #23746.
2014-11-27Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode.Berker Peksag
2014-11-27Fixed #23877 -- aggregation's subquery missed target colAnssi Kääriäinen
Aggregation over subquery produced syntactically incorrect queries in some cases as Django didn't ensure that source expressions of the aggregation were present in the subquery.
2014-11-26Fixed #23801 -- Added warning when max_length is used with IntegerFieldMattBlack85
2014-11-26Fixed #23867 -- removed DateQuerySet hacksAnssi Kääriäinen
The .dates() queries were implemented by using custom Query, QuerySet, and Compiler classes. Instead implement them by using expressions and database converters APIs.
2014-11-25Fixed #23914 -- Improved {% now %} to allow storing its result in the context.Baptiste Mispelon
Thanks to Tim for the review.
2014-11-25Fixed #23915 -- Made sure m2m fields through non-pk to_field are allowed in ↵Simon Charette
the admin. refs #23754, #23862
2014-11-25Fixed #23754 -- Always allowed reference to the primary key in the adminSimon Charette
This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review.