summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-10-19[1.9.x] Fixed #25562 -- Skipped a time dependent admin_filters test on Windows.Tim Graham
Backport of 4a50daf6b343db1b5c316aa29efd657e160d0cd3 from master
2015-10-19[1.9.x] Fixed #25563 -- Cached deferred models in their proxied model's ↵Simon Charette
_meta.apps. Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review. Backport of 3db3ab71e97d34260057a6f51d4b2f72da30dc8d from master
2015-10-19[1.9.x] Fixed #25560 -- Made empty string related_name invalid.Simon Charette
Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review. Backport of c1b6a8a98b08fedfa3f3c69bc7add94c5841ba57 from master
2015-10-17[1.9.x] Fixed #25517 -- Made Concat function idempotent on SQLite.Josh Smeaton
Backport of 6c95b134e9b2d5641c123551c080305e90e6a89d from master
2015-10-17[1.9.x] Fixed #25346 -- Allowed collectstatic to delete broken symlinks.Yusuke Miyazaki
Backport of 0922bbf18d3ae8f37e1823df2dbc270d33334548 from master
2015-10-16[1.9.x] Used SchemaEditor.delete_model() for teardown in schema tests.Tim Graham
Some third-party database backends (MSSQL) have custom delete_model() requirements that must be executed. Thanks Michael Manfre for the initial patch and review. Backport of 4dcc2a195595f8d7ddad45bc4baf98ffdeec7f41 from master
2015-10-14[1.9.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation.Antoine Catton
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com> Backport of b971c1cd78a0bf831c1c30080089c4a384d037a0 from master
2015-10-14[1.9.x] Fixed #25535 -- Made ForeignObject checks less strict.Antoine Catton
Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model. Backport of 80dac8c33e7f6f22577e4346f44e4c5ee89b648c and c7aff31397a7228f6ac2e33c10ebdf36c4b7a9b7 from master
2015-10-09[1.9.x] Fixed #22705 -- Fixed QuerySet.bulk_create() on models without any ↵Tim Graham
fields on Oracle. Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01. Thanks Mariusz Felisiak for the solution. Backport of 7a5b7e35bf2e219225b9f26d3dd3e34f26e83e9c from master
2015-10-09[1.9.x] Fixed #14368 -- Allowed setting a reverse OneToOne relation to None.Tim Graham
Backport of 384ddbec1b73a4636f234da3894fde8f8420bb63 from master
2015-10-09[1.9.x] Fixed #25533 -- Changed datatype mapping for GDALRastersDaniel Wiesmann
Backport of 5d8985005e from master.
2015-10-06[1.9.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract ↵Mariusz Felisiak
model. Backport of 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a from master
2015-10-06[1.9.x] Refs #12118 -- Allowed "mode=memory" in SQLite test database names.Riccardo Magliocchetti
Backport of 3543fec3b739864c52de0a116dde3b0e5e885799 from master
2015-10-05[1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().Tim Graham
Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master
2015-10-05[1.9.x] Fixed #25423 -- Made error message for unknown template tag more ↵Pindi Albert
helpful. Backport of 9f2881deb127593e8e0fa25e978aad9029d7b562 from master
2015-10-03[1.9.x] Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.Ben Kraft
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in particular it did not add the `_django_version` attribute added in 42736ac8. Now it will handle this and other custom `__reduce__` methods correctly. Backport of 35355a4ffedb2aeed52d5fe3034380ffc6a438db from master
2015-09-29[1.9.x] Fixed #25466 -- Added backwards compatibility aliases for ↵Tim Graham
LoaderOrigin and StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class. Backport of 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f from master
2015-09-28[1.9.x] Refs #16860 -- Fixed password help text when there aren't any ↵Antoine Catton
validators. This avoids creating an empty list which is invalid HTML 4. Backport of 53ccffdb8c8e47a4d4304df453d8c79a9be295ab from master
2015-09-26[1.9.x] Made tests/serializers/models.py a models packageClaude Paroz
Thanks Tim Graham for the patch series review. Backport of 50acbf3ff6 from master.
2015-09-26[1.9.x] Moved remaining of serializers_regress to serializers testsClaude Paroz
Backport of 4908222ac from master.
2015-09-26[1.9.x] Moved more serializers_regress to serializers testsClaude Paroz
Backport of ddd6a530e from master.
2015-09-26[1.9.x] Separated natural key serialization testsClaude Paroz
Backport of d59d3caf3 from master.
2015-09-26[1.9.x] Separated JSON serialization testsClaude Paroz
Backport of 6dc7af3e01 from master.
2015-09-26[1.9.x] Separated XML serialization testsClaude Paroz
Backport of d3cfdfb508 from master.
2015-09-26[1.9.x] Separated YAML serialization testsClaude Paroz
Backport of febd5aeec from master.
2015-09-25[1.9.x] Removed redundancy in admin_changelist tests.Tim Graham
Backport of c42123adb166fd297116880a5322e4e17b11e33f from master
2015-09-24[1.9.x] Fixed #25457 -- Improved formatting of password validation errors in ↵Tzu-ping Chung
management command output. Backport of 7372cdebed19a9d8e5527823c1e6825156babf98 from master
2015-09-23Refs #18081 -- Asserted db constraints are created for fk to proxy models.Simon Charette
2015-09-23Fixed #25407 -- Removed network dependency in GeoIP tests.Anton Baklanov
2015-09-23Refs #24526 -- Made the django logger handle INFO messages.Tim Graham
Without an explicit 'level', only messages at WARNING or higher are handled. This makes the config consistent with the docs which say, "The django catch-all logger sends all messages at the INFO level or higher to the console."
2015-09-23Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2.Tim Graham
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
2015-09-22Fixed #24509 -- Added Expression support to SQLInsertCompilerAlex Hill
2015-09-21Refs #23813 -- Moved URLconfs into module and tidied docstrings.Alasdair Nicol
2015-09-21Fixed #25373 -- Added warning logging for exceptions during {% include %} ↵Nick Johnson
tag rendering.
2015-09-21Refs #18773 -- Improved template variable exception logging message.Nick Johnson
2015-09-21Fix import sorting problem.Aymeric Augustin
2015-09-21Fixed #24921 -- set_autocommit(False) + ORM queries.Aymeric Augustin
This commits lifts the restriction that the outermost atomic block must be declared with savepoint=False. This restriction was overly cautious. The logic that makes it safe not to create savepoints for inner blocks also applies to the outermost block when autocommit is disabled and a transaction is already active. This makes it possible to use the ORM after set_autocommit(False). Previously it didn't work because ORM write operations are protected with atomic(savepoint=False).
2015-09-21Renamed descriptor classes for related objects.Aymeric Augustin
The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base.
2015-09-21Fixed #25431 -- Readded inline foreign keys to modelformset instancesClaude Paroz
Too much field exclusions in form's construct_instance() in _post_clean() could lead to some unexpected missing ForeignKey values. Fixes a regression from 45e049937. Refs #13776.
2015-09-21Fixed #24688 -- Added Oracle support for new-style GIS functions.Jani Tiainen
2015-09-21Fixed #23813 -- Added checks for common URL pattern errorsAlasdair Nicol
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah for their reviews.
2015-09-21Fixed #24629 -- Unified Transform and Expression APIsJosh Smeaton
2015-09-20Removed obsolete supports_* auth backend attributes in testsClaude Paroz
2015-09-19Fixed #25296 -- Prevented model related object cache pollution when create() ↵Raphael Merx
fails due to an unsaved object.
2015-09-19Fixed typo in "pbkdf2" test names.Tim Graham
2015-09-19Used more specific assertion in check_framework tests.Alasdair Nicol
2015-09-19Fixed #25160 (again) -- Moved data loss check on reverse relations.Aymeric Augustin
Moved data loss check when assigning to a reverse one-to-one relation on an unsaved instance to Model.save(). This is exactly the same change as e4b813c but for reverse relations.
2015-09-19Refs #13110 -- Fixed mistakes in the new multiple enclosure feed testsUnai Zalakain
2015-09-19Fixed #25424 -- Use force_str for test client URLs.Travis Jensen
urlparse() fails with an AttributeError ("'__proxy__' object has no attribute 'decode'") if reverse_lazy is used to look up the URL (this is exactly the same problem that caused ticket #18776). The solution is to use force_str() on the path before handing it to urlparse().
2015-09-19Fixed #25390 -- Allowed specifying a start migration in squashmigrationsMarkus Holtermann
Thanks Tim Graham for the review.