Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #25560 -- Made empty string related_name invalid.Simon Charette2015-10-161-0/+1
| | | | | Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review.
* Used SchemaEditor.delete_model() for teardown in schema ↵Tim Graham2015-10-161-33/+27
| | | | | | | | | tests. Some third-party database backends (MSSQL) have custom delete_model() requirements that must be executed. Thanks Michael Manfre for the initial patch and review.
* Fixed #25506 -- Allowed filtering over a RawSQL annotation.Antoine Catton2015-10-141-0/+12
| | | | Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
* Refs #25535 -- Minor edits to ForeignObject check changes.Tim Graham2015-10-142-34/+25
|
* Fixed #25535 -- Made ForeignObject checks less strict.Antoine Catton2015-10-132-3/+140
| | | | | Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model.
* Refs #18012 -- Made proxy and concrete model reverse ↵Simon Charette2015-10-123-3/+99
| | | | | | | fields consistent. Prior to this change proxy models reverse fields didn't include the reverse fields pointing to their concrete model.
* Fixed #23076, #25505 -- Fixed deletion of intermediate ↵Simon Charette2015-10-122-1/+14
| | | | | | proxy models. Thanks to James Murty for his work on an alternate patch.
* Fixed #18012 -- Propagated reverse foreign keys from ↵Simon Charette2015-10-124-8/+19
| | | | | | proxy to concrete models. Thanks to Anssi for the review.
* Fixed #24687 -- Added select_related() validation for ↵Tim Graham2015-10-104-10/+9
| | | | | | | | | | nested non-relational fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review.
* Fixed #22705 -- Fixed QuerySet.bulk_create() on models ↵Tim Graham2015-10-092-2/+10
| | | | | | | | without any fields on Oracle. Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01. Thanks Mariusz Felisiak for the solution.
* Fixed #14368 -- Allowed setting a reverse OneToOne ↵Tim Graham2015-10-091-0/+16
| | | | relation to None.
* Fixed #25533 -- Changed datatype mapping for GDALRastersDaniel Wiesmann2015-10-091-0/+21
|
* Fixed #25499 -- Added the ability to pass an expression ↵Claude Paroz2015-10-092-1/+28
| | | | | | in distance lookups Thanks Bibhas Debnath for the report and Tim Graham for the review.
* Refs #19722 -- Added a test for querying generic ↵Tim Graham2015-10-082-2/+15
| | | | | | relations of a parent class. Fixed in c9a96075fa02b6d52bec748ffdfb413688a15774.
* Refs #17917 -- Added a test for pickling annotations on ↵Tim Graham2015-10-071-0/+6
| | | | | | fields with callable defaults. Fixed in f403653cf146384946e5c879ad2a351768ebc226.
* Fixed #25503 -- Fixed system check crash on ForeignKey ↵Mariusz Felisiak2015-10-071-26/+30
| | | | to abstract model.
* Fixed #25508 -- Modified QuerySet.__repr__() to ↵Tim Graham2015-10-063-8/+11
| | | | disambiguate it from a list.
* Refs #12118 -- Allowed "mode=memory" in SQLite test ↵Riccardo Magliocchetti2015-10-061-0/+24
| | | | database names.
* Fixed #25496 -- Made ModelChoiceField respect ↵Tim Graham2015-10-061-0/+23
| | | | prefetch_related().
* Fixed #25423 -- Made error message for unknown template ↵Pindi Albert2015-10-051-5/+12
| | | | tag more helpful.
* Fixed #25500 -- Added --fail-level option to check command.Jon Dufresne2015-10-051-1/+6
| | | | | This option specifies the level that check command exits with a non-zero status. Default is ``ERROR``.
* Fixed #25037 -- Added request.user to the debug view.John Moses2015-10-051-0/+12
|
* Fixed #25389 -- Fixed pickling a SimpleLazyObject ↵Ben Kraft2015-10-032-0/+96
| | | | | | | | wrapping a model. 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.
* Fixed #22938 -- Allowed clearsessions to remove ↵Aleksandra Tarkowska2015-10-031-4/+14
| | | | file-based sessions.
* Fixed #25483 -- Allowed passing non-string arguments to ↵Claude Paroz2015-10-032-0/+11
| | | | | | call_command Thanks KS Chan for the report and Tim Graham for the review.
* Refs #15844 -- Added tests for multi-table inheritance ↵Tim Graham2015-10-031-0/+19
| | | | | | related object filtering efficiency. Fixed in 97774429aeb54df4c09895c07cd1b09e70201f7d.
* Refs #13203, #9501 -- Added a test for generic relations ↵Tim Graham2015-10-022-1/+13
| | | | | | to child models. Fixed in 97774429aeb54df4c09895c07cd1b09e70201f7d.
* Fixed #25490 -- Made the logout() view send "no-cache" ↵Kaleb Elwert2015-10-021-0/+8
| | | | headers.
* Fixed #21042 -- Allowed accessing FileDescriptor on the ↵Tim Graham2015-10-011-3/+2
| | | | | | | model class. This is consistent with ability to reference other descriptors on the model class (5ef0c03ae9aca99289737ba6d88a371ad95cf432).
* Fixed #25466 -- Added backwards compatibility aliases ↵Tim Graham2015-09-302-4/+19
| | | | | | for LoaderOrigin and StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class.
* Refs #16860 -- Fixed password help text when there ↵Antoine Catton2015-09-281-0/+4
| | | | | | aren't any validators. This avoids creating an empty list which is invalid HTML 4.
* Fixed #25468 -- Made DjangoJSONEncoder lazy string awareClaude Paroz2015-09-271-1/+16
| | | | | Thanks Stavros Korokithakis for the report and Tim Graham for the review.
* Made tests/serializers/models.py a models packageClaude Paroz2015-09-264-203/+207
| | | | Thanks Tim Graham for the patch series review.
* Moved remaining of serializers_regress to serializers testsClaude Paroz2015-09-264-331/+323
|
* Moved more serializers_regress to serializers testsClaude Paroz2015-09-264-94/+99
|
* Separated natural key serialization testsClaude Paroz2015-09-265-89/+109
|
* Separated JSON serialization testsClaude Paroz2015-09-263-266/+274
|
* Separated XML serialization testsClaude Paroz2015-09-263-114/+119
|
* Separated YAML serialization testsClaude Paroz2015-09-263-177/+181
|
* Removed redundancy in admin_changelist tests.Tim Graham2015-09-251-115/+58
|
* Fixed #25457 -- Improved formatting of password ↵Tzu-ping Chung2015-09-251-1/+1
| | | | validation errors in management command output.
* Increased the default PBKDF2 iterations for the 1.10 ↵Tim Graham2015-09-241-3/+3
| | | | release cycle.
* Removed RemovedInDjango110Warning.Tim Graham2015-09-242-6/+4
|
* Refs #23913 -- Removed support for a single equals sign ↵Tim Graham2015-09-241-44/+6
| | | | | | in {% if %} tag. Per deprecation timeline.
* Made template response APIs enforce the use of dict and ↵Tim Graham2015-09-241-13/+2
| | | | | | backend-specific template objects. Per deprecation timeline; refs 79deb6a0716e554cac5308e86f5754f19ad436dc.
* Refs #22804 -- Made an unsafe value of 'sep' in Signer ↵Tim Graham2015-09-241-6/+2
| | | | | | an exception. Per deprecation timeline.
* Removed support for passing a context to a generic ↵Tim Graham2015-09-243-38/+2
| | | | | | Template.render(). Per deprecation timeline; refs a3e783fe11dd25bbf84bfb6201186566ed473506.
* Removed dictionary and context_instance parameters for ↵Tim Graham2015-09-246-73/+7
| | | | | | render functions. Per deprecation timeline.
* Removed dirs parameter in template engine methods and ↵Tim Graham2015-09-245-55/+0
| | | | | | related funtions. Per deprecation timeline.
* Removed current_app argument to render() and ↵Tim Graham2015-09-247-60/+7
| | | | | | TemplateResponse(). Per deprecation timeline.