summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-01-08Isolated some cache tests; refs #23947.Tim Graham
This reverts a change made in 40c60efecc0fc73f0b2320b44d684586b52ee799 which was incorrect and caused CacheKeyWarnings.
2015-01-08Fixed #24073 -- Returned None for get_language when translations are deactivatedClaude Paroz
This fixes a regression caused by f7c287fca9. Thanks Markus Holtermann for identifying the regression.
2015-01-08Fixed #24095 -- Prevented WarningLoggerTests from leaking a warnings filter.Tim Graham
2015-01-07Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are ↵Markus Holtermann
not explicitly deconstructed
2015-01-07Avoided a deprecated alias on Python 3 in file_uploads test.Tim Graham
2015-01-07Fixed null handling in Value expressionJosh Smeaton
2015-01-07Refs #23822 -- Made MigrationOptimizer aware of model managersMarkus Holtermann
2015-01-07Restored support for multiple template names in render(_to_response).Aymeric Augustin
This possibility was documented but not tested. It had been broken during the multiple template engines refactor.
2015-01-07Added a request argument to render_to_string.Aymeric Augustin
This is for consistency with Template.render. It adds a little bit of knowledge about HTTP requests in django.template.loader but I think consistency trumps purity.
2015-01-07Fixed #24073 -- Deactivated translations when leave_locale_alone is FalseClaude Paroz
Thanks Tim Graham and Markus Holtermann for the reviews.
2015-01-07Refs #2443 -- Allowed creation of objects with NULL DurationFieldsMichał Modzelewski
2015-01-07Fixed #24078 -- Removed empty strings from GenericIPAddressFieldJosh Smeaton
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2015-01-06Removed warning handling that should have been removed in refs #23891.Tim Graham
2015-01-06Made context take priority over context processors.Aymeric Augustin
This is the expected behavior, but given RequestContext's tortuous implementation, a straightforward use of its API results in the opposite. This commits fixes a regression that must have happened at different points in the multiple templates engine refactor for different features.
2015-01-06Fixed #20003 -- Improved and extended URLValidatorDanilo Bargen
This adds support for authentication data (`user:password`) in URLs, IPv6 addresses, and unicode domains. The test suite has been improved by adding test URLs from http://mathiasbynens.be/demo/url-regex (with a few adjustments, like allowing local and reserved IPs). The previous URL validation regex failed this test suite on 13 occasions, the validator was updated based on https://gist.github.com/dperini/729294.
2015-01-06Used None-related assertions in CSRF testsClaude Paroz
Thanks Markus Holtermann for spotting this.
2015-01-06Fixed #23815 -- Prevented UnicodeDecodeError in CSRF middlewareClaude Paroz
Thanks codeitloadit for the report, living180 for investigations and Tim Graham for the review.
2015-01-05Fixed #24022 -- Deprecated the ssi tag.Preston Timmons
2015-01-05Refs #23359 -- Removed double newline from output of migrate --listMarkus Holtermann
Thanks Berker Peksag for the review.
2015-01-05Fixed test failures introduced in refs #23861.Tim Graham
2015-01-05Fixed #23861 -- Added an API to deprecate model fields.Tim Graham
Thanks Markus Holterman and Berker Peksag for review.
2015-01-05Fixed #8280 -- Allowed management command discovery for eggsClaude Paroz
Thanks jdetaeye for the report, bhuztez and jdetaeye for the initial patches, Tim Graham and Berker Peksag for the reviews.
2015-01-05Fixed #24072 -- Added FileResponse for streaming binary files.Collin Anderson
2015-01-02Added return value to Signal.disconnect().Andriy Sokolovskiy
2015-01-02Renamed an assertion in the dispatch tests.Tim Graham
2015-01-02Fixed #9104 -- Moved FieldDoesNotExist to core.exceptionsDaniel Pyrathon
2015-01-02Fixed #23745 -- Reused states as much as possible in migrationsClaude Paroz
Thanks Tim Graham and Markus Holtermann for the reviews.
2015-01-02Passed around the state between migrationsClaude Paroz
Refs #23745.
2015-01-02Replaced migration state render() by apps cached propertyClaude Paroz
Refs #23745.
2015-01-01Silenced an ImportWarning in the template_backends tests.Tim Graham
2015-01-01Fixed #23700 -- Fixed non-deterministic static files test failures on Windows.Tim Graham
This partially reverts commit 949ee521fab106b44218c30577eb55f0097d39cd refs #21230.
2015-01-01Fixed #23891 -- Moved deprecation of IPAddressField to system check framework.Tim Graham
Thanks Markus Holtermann for review.
2014-12-31Fixed #22295 -- Replaced permission check for displaying admin user-toolsThomas Tanner
2014-12-31Fixed #24008 -- Fixed ValidationError crash with list of dicts.Andrey Maslov
2014-12-31Fixed #23359 -- Added showmigrations command to list migrations and plan.Markus Holtermann
Thanks to Collin Anderson, Tim Graham, Gabe Jackson, and Marc Tamlyn for their input, ideas, and review.
2014-12-31Refs #18586 -- Split up tests.defer.DeferTests.test_deferWill Earp
2014-12-31Renamed tests for util -> utils moves; refs #17627.Tim Graham
2014-12-31Fixed a queries test on Python 2 broken after importing six.moves.range().Tim Graham
2014-12-31Fixed test from refs #23758.Tim Graham
2014-12-31Fixed #23758 -- Allowed more than 5 levels of subqueriesPiotr Pawlaczek
Refactored bump_prefix() to avoid infinite loop and allow more than than 5 subquires by extending the alphabet to use multi-letters.
2014-12-31Moved DatabaseCreation.data_types properties to DatabaseWrapper.Tim Graham
refs #22340.
2014-12-31Ignored warnings correctly in test_get_formsets_with_inlines_returns_tuples().Berker Peksag
The subclass check in ModelAdmin.get_formsets_with_inlines() wasn't tested correctly because of the super() call in EpisodeAdmin.get_formsets().
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-30Fixed #23450 -- Fixed transient failure of requests...test_far_expiration.Tim Graham
2014-12-30Removed unused import.Tim Graham
2014-12-30Fixed #12118 -- Added shared cache support to SQLite in-memory testing.Andriy Sokolovskiy
2014-12-30Added test for an intermediate swappable model change in migration state.Markus Holtermann
refs #22563
2014-12-30Fixed #23581 -- Prevented extraneous DROP DEFAULT statements.Tim Graham
Thanks john_scott for the report and Markus Holtermann for review.
2014-12-29Fixed #23938 -- Added migration support for m2m to concrete fields and vice ↵Markus Holtermann
versa Thanks to Michael D. Hoyle for the report and Tim Graham for the review.