Commit Graph

11277 Commits

Author SHA1 Message Date
Mariusz Felisiak fa3ae446d9 [2.2.x] Refs #30083 -- Clarified database state of instances in signals.pre_init docs.
Backport of a2e1c17f19 from master
2019-07-19 16:07:21 +02:00
Davit Gachechiladze de2635fb4e [2.2.x] Fixed #30648 -- Removed unnecessary overriding get_context_data() from mixins with CBVs docs.
Backport of 7f612eda80 from master
2019-07-18 19:47:53 +02:00
Mariusz Felisiak 0088e59292 [2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation.
Backport of 230d75f59c from master
2019-07-18 12:56:52 +02:00
Mariusz Felisiak 4814db40c1 [2.2.x] Fixed heading level typo in docs/ref/contrib/postgres/fields.txt.
Backport of ad4e83a6d1 from master
2019-07-16 15:08:40 +02:00
Frank Wiles d58cde7444 [2.2.x] Updated WSGI servers ordering according to the more commonly used.
Backport of fa65b90a96 from master
2019-07-16 14:44:29 +02:00
Frank Wiles de19a600f0 [2.2.x] Fixed explanation of how to automatically create tables in database.
Backport of c1b94e32fb from master
2019-07-15 15:24:44 +02:00
Hasan Ramezani a39365c48e [2.2.x] Doc'd --no-input option for createsuperuser.
Backport of 8dd5877f58 from master
2019-07-11 10:26:16 +02:00
Mariusz Felisiak 1088a9777d [2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField when the right hand side is the same type.
Thanks Tilman Koschnick for the report and initial patch.
Thanks Carlton Gibson for the review.

Regression in 6b048b364c.
Backport of 7991111af1 from master
2019-07-10 10:34:49 +02:00
Simon Charette 9dee8515d6 [2.2.x] Fixed #30628 -- Adjusted expression identity to differentiate bound fields.
Expressions referring to different bound fields should not be
considered equal.

Thanks Julien Enselme for the detailed report.

Regression in bc7e288ca9.

Backport of ee6e93ec87 from master
2019-07-10 08:04:45 +02:00
Mariusz Felisiak 8f0b9e7f9a [2.2.x] Fixed typos in docs/ref/django-admin.txt.
Backport of 24e8f7f7d3 from master
2019-07-09 13:39:35 +02:00
Mariusz Felisiak b593c39d7f [2.2.x] Added stub release notes for 2.2.4.
Backport of 08e69cad9c from master
2019-07-09 07:45:27 +02:00
sp1rs 0ea952e3d6 [2.2.x] Fixed #30600 -- Clarified that ValueError raised by converter.to_python() means no match.
Backport of f197c3dd91 from master
2019-07-04 13:36:10 +02:00
swatantra 7d52d056e3 [2.2.x] Fixed #28667 -- Clarified how to override list of forms fields for custom UserAdmin with a custom user model.
Backport of c13e3715f5 from master
2019-07-04 08:22:56 +02:00
Carlton Gibson b6d8957356 [2.2.x] Fixed #28588 -- Doc'd User.has_perm() & co. behavior for active superusers.
Equivalent note for PermissionsMixin was added in d33864ed13.
Backport of 4b32d039db from master
2019-07-02 11:21:46 +02:00
aitoehigie b9d1bb6955 [2.2.x] Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.
Backport of c2f381ef17 from master
2019-07-01 12:03:56 +02:00
Mariusz Felisiak 2b533ae60e [2.2.x] Added CVE-2019-12781 to the security release archive.
Backport of 868cd56f05 from master
2019-07-01 10:21:16 +02:00
Mariusz Felisiak 93e719efdb [2.2.x] Updated man page for Django 2.2. 2019-07-01 07:54:32 +02:00
Mariusz Felisiak 4f2713ff0e [2.2.x] Added release date for 2.2.3.
Backport of fc41401f33 from master
2019-07-01 07:51:53 +02:00
Carlton Gibson 77706a3e47 [2.2.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set.
An HTTP request would not be redirected to HTTPS when the
SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if
the proxy connected to Django via HTTPS.

HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if
set, rather than falling back to the request scheme when the
SECURE_PROXY_SSL_HEADER did not have the secure value.

Thanks to Gavin Wahl for the report and initial patch suggestion, and
Shai Berger for review.

Backport of 54d0f5e62f from master
2019-07-01 07:50:48 +02:00
Mariusz Felisiak db9f7b44fc [2.2.x] Added stub release notes for security releases.
Backport of 30b3ee9d0b from master
2019-07-01 07:03:03 +02:00
Claude Paroz b3f7262e6e [2.2.x] Updated translations from Transifex 2019-06-29 16:15:53 +02:00
Tom Forbes bdc1de2199 [2.2.x] Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't have __file__ attribute.
Backport of 8454f6dea4 from master
2019-06-26 06:44:57 +02:00
Meysam 04965bf92d [2.2.x] Fixed typo in docs/topics/db/models.txt.
Backport of 833878411c from master
2019-06-24 09:05:15 +02:00
Alexey Opalev f3b036593f [2.2.x] Fixed typo in docs/ref/models/indexes.txt.
Backport of 2f91e7832f from master
2019-06-24 09:01:12 +02:00
Claude Paroz 3b2701e4f2 [2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
Backport of 8590726a5d from master.
2019-06-22 10:28:26 +02:00
Jon Dufresne e6b2471ce7 [2.2.x] Fixed typos in 1.11.19, 2.0.11, 2.1.6 release notes.
Backport of 2ef6f209f7 from master
2019-06-21 07:10:32 +02:00
Chris Jerdonek d200069b15 [2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method.
Backport of 533311782f from master
2019-06-20 11:49:52 +02:00
Swat009 c3a0f76d11 [2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model validation.
Backport of 00169bc361 from master
2019-06-20 10:45:20 +02:00
Hasan Ramezani c3a9d3050c [2.2.x] Fixed typos in signals and custom management commands docs.
Backport of a7038adbd0 from master
2019-06-19 08:41:51 +02:00
Hasan Ramezani 1ce04289f1 [2.2.x] Fixed typos and example in signals.pre_init docs.
Backport of 036362e0cf from master
2019-06-18 15:09:07 +02:00
Joachim Jablon 26c1214364 [2.2.x] Fixed an example of email with display name in EmailMessage.from_email.
Backport of 0c2ffdd526 from master
2019-06-13 18:00:28 +02:00
Jon Dufresne 13e6040fd4 [2.2.x] Fixed intword example in docs/ref/contrib/humanize.txt.
Backport of 175656e166 from master
2019-06-11 22:12:24 +02:00
Vyacheslav Ver 36766e1a28 [2.2.x] Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated example of custom aggregate functions.
Backport of 76b3fc5c8d from master
2019-06-11 12:02:02 +02:00
Mykola Nicholas d5d22e1090 [2.2.x] Changed charset and collation link to MySQL docs.
Backport of f3a03d5b61 from master
2019-06-11 11:17:23 +02:00
Mariusz Felisiak 430f7e9dac [2.2.x] Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.
Backport of 5ab75adb90 from master
2019-06-10 16:57:50 +02:00
swatantra 6dca336167 [2.2.x] Fixed #30553 -- Clarified the default value of disable_existing_loggers.
Backport of 03cd3d137e from master
2019-06-10 15:18:40 +02:00
Étienne Beaulé 4e6f0024f1 [2.2.x] Fixed #30542 -- Fixed crash of numerical aggregations with filter.
Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.

Thanks to Chuan-Zheng Lee for the report.

Regression in c690afb873 and two following
commits.

Backport of 4b6dfe1622 from master.
2019-06-05 09:15:21 +02:00
Mariusz Felisiak ca3f86288a [2.2.x] Added stub release notes for 2.2.3.
Backport of 1f81e2df69 from master
2019-06-05 06:58:53 +02:00
Caio Ariede d6d65c1e87 [2.2.x] Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.
Backport of 5248abe9b0 from master
2019-06-04 14:57:08 +02:00
Nick Pope ed3dc5119b [2.2.x] Added CVE-2019-12308 to the security release archive.
Backport of 21b1d23912 from master
2019-06-03 21:45:58 +02:00
Nick Pope 162e02b5e4 [2.2.x] Added CVE-2019-11358 to the security release archive.
Backport of 8fb0ea5583 from master
2019-06-03 21:45:41 +02:00
Mariusz Felisiak e6d7641000 [2.2.x] Fixed typos in 1.11.21, 2.1.9, 2.2.2 release notes.
Backport of 100ec901ae from master
2019-06-03 14:10:51 +02:00
Carlton Gibson baaf187a4e [2.2.x] Applied jQuery patch for CVE-2019-11358.
Backport of 34ec52269a from master.
2019-06-03 11:38:57 +02:00
Carlton Gibson afddabf842 [2.2.x] Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.
Backport of deeba6d920 from master.
2019-06-03 11:37:28 +02:00
Carlton Gibson 4a1d25b39f [2.2.x] Added stub release notes for security releases.
Backport of 98c0fe19ee from master
2019-06-03 10:50:09 +02:00
parth 5c85244eb9 [2.2.x] Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the parent object.
Backport of 8543647306 from master
2019-05-31 13:21:13 +02:00
Tom Forbes 7089502b98 [2.2.x] Fixed #30523 -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.
Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.

If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.

Regression in 6754bffa2b.

Backport of 480492fe70 from master
2019-05-29 09:43:10 +02:00
Tom Forbes ace0bec804 [2.2.x] Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with custom signature.
Regression in c8720e7696.

Backport of 0344565179 from master
2019-05-29 08:30:22 +02:00
Brad Solomon 0f0d1cd772 [2.2.x] Fixed #30491 -- Clarified when save() on object with pk executes INSERT.
Backport of 67b6cb7723 from master
2019-05-28 11:28:28 +02:00
Caio Ariede 1172f078eb [2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery.
Backport of a3f91891d2 from master.
2019-05-28 10:39:28 +02:00
Tom Forbes 5bf2c87ece [2.2.x] Fixed #30479 -- Fixed detecting changes in manage.py by autoreloader when using StatReloader.
Regression in c8720e7696.

Backport of b2790f74d4 from master
2019-05-28 09:01:29 +02:00
Mariusz Felisiak 853586ee2c [2.2.x] Doc'd that extra_email_context can be used to override default template context values in PasswordResetView.
Backport of 8bdc7a6778 from master
2019-05-27 12:26:41 +02:00
Shashank Parekh 86904c1850 [2.2.x] Fixed #30504 -- Corrected redirect() signature in docs.
Backport of 8000767769 from master
2019-05-24 08:27:10 +02:00
Caio Ariede 2f0dcd8238 [2.2.x] Doc'd that assertXMLEqual()/assertXMLNotEqual() ignores XML declaration and comments.
Backport of 4fb9e7b057 from master
2019-05-24 08:24:04 +02:00
Akshesh efb906cbe4 [2.2.x] Fixed #30419 -- Favored Meta.indexes over Meta.index_together in optimization docs.
Backport of 888fdf182e from master
2019-05-22 07:55:31 +02:00
Alex Gaynor a7515c3532 [2.2.x] Fixed datetime string format examples in docs/howto/custom-template-tags.txt.
Backport of f011d9ea56 from master
2019-05-22 06:48:26 +02:00
GwynBleidD 83605a17f0 [2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.
Backport of 5402061c80 from master
2019-05-20 10:54:19 +02:00
mentix02 da10b647f7 [2.2.x] Changed poll_id to poll_ids in examples of custom management commands.
Backport of fa422dd78b from master
2019-05-20 10:44:34 +02:00
Thomasina Lee 3d4e53bcb1 [2.2.x] Fixed #30488 -- Removed redundant Coalesce call in SQL generated by SearchVector.
Regression in 405c836336.

Backport of c38e7a79f4 from master
2019-05-20 09:12:32 +02:00
ruchit2801 db7d7901ee [2.2.x] Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contains expressions.
Regression in 1b1f64ee5a.

Backport of 04042b2b44 from master
2019-05-18 20:05:31 +02:00
Jon Dufresne ed221f7c97 [2.2.x] Changed docs to link to Python's description of iterable.
Backport of e86cc14bd3 from master
2019-05-17 17:27:57 +02:00
Daniel Hepper 0aca34fc83 [2.2.x] Fixed #25633 -- Updated macOS Spatialite installation instructions.
Updated the Spatialite installation instruction to refer to the latest
available version from KyngChaos, as Gaia-SINS does not provide MacOS
binaries anymore.
Backport of ccb7f7c6d2 from master
2019-05-17 16:24:43 +02:00
Tobias Kunze 85b698449f [2.2.x] Fixed #30395 -- Doc'd a limitation of ModelForm.Meta.widgets.
Backport of a309821c97 from master
2019-05-17 12:49:19 +02:00
Alex 4ef96cce6a [2.2.x] Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight atomicity warning.
Backport of 1686dce06c from master
2019-05-17 12:25:12 +02:00
Claude Paroz 34a357d519 [2.2.x] Fixed #30459 -- Delegated hide/show JS toggle to parent div.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of e286987a27 from master
2019-05-17 08:04:59 +02:00
Jon Dufresne 08c8838727 [2.2.x] Changed tuple choices to list in docs.
Backport of 97d3321e89 from master
2019-05-15 14:41:01 +02:00
Ahisahar Pretel f6febbc078 [2.2.x] Fixed #30316 -- Added source code link to the default logging configuration in logging docs.
Backport of 717362d810 from master
2019-05-15 12:37:21 +02:00
Jonatas C. Damasceno 72fe36c246 [2.2.x] Fixed #30437 -- Clarified that urlpatterns can be a sequence.
Backport of 8aad3321ed from master
2019-05-14 06:47:14 +02:00
Mariusz Felisiak 5d1cf9c442 [2.2.x] Added stub release notes for 2.2.2.
Backport of 30dd43884e from master
2019-05-08 14:45:37 +02:00
Daniel Musketa 4cfbd2c0c2 [2.2.x] Fixed typo in docs/ref/django-admin.txt.
Backport of 59de9494e7 from master
2019-05-07 12:59:14 +02:00
Tobias Kunze 769f87fd24 [2.2.x] Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the field the relation points to.
Backport of a44a21a22f from master
2019-05-07 12:58:55 +02:00
Tobias Kunze bf9e0e342d [2.2.x] Refs #20122 -- Corrected documentation of pluralize template filter.
Backport of e3968df527 from master
2019-05-03 11:53:56 +02:00
Mariusz Felisiak 9d5ce09aec
[2.2.x] Updated man page for Django 2.2. 2019-05-01 07:15:24 +02:00
Mariusz Felisiak e7629cecde [2.2.x] Added release date for 2.2.1.
Backport of 2106b983c4 from master
2019-05-01 07:07:19 +02:00
can 58391b4d16 [2.2.x] Fixed #30412 -- Fixed crash when adding check constraints with OR'ed condition on Oracle and SQLite.
Backport of 719b746620 from master
2019-04-30 13:43:02 +02:00
Tobias Kunze 54fcdf168a [2.2.x] Fixed #20629 -- Rephrased custom user models admonition.
Backport of eb16c7260e from master
2019-04-30 09:49:38 +02:00
Simon Charette f36239fa19 [2.2.x] Fixed #30408 -- Fixed crash when adding check constraints with LIKE operator on Oracle and PostgreSQL.
The LIKE operator wildcard generated for contains, startswith, endswith and
their case-insensitive variant lookups was conflicting with parameter
interpolation on CREATE constraint statement execution.

Ideally we'd delegate parameters interpolation in DDL statements on backends
that support it but that would require backward incompatible changes to the
Index and Constraint SQL generating methods.

Thanks David Sanders for the report.

Backport of a8b3f96f6a from master
2019-04-30 08:54:30 +02:00
Tom Forbes d326c743ef [2.2.x] Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader.
Backport of 6754bffa2b from master
2019-04-29 12:18:29 +02:00
Tom Forbes 097457afe4 [2.2.x] Refs #30323 -- Prevented crash of autoreloader when get_resolver().urlconf_module raising an exception.
Backport of 0636d4d2aa from master
2019-04-29 12:18:18 +02:00
Carlton Gibson 4f8ebdd098 [2.2.x] Fixed #30351 -- Handled pre-existing permissions in proxy model permissions data migration.
Regression in 181fb60159.

Backport of 98296f86b3 from master
2019-04-27 21:08:46 +02:00
Jacob Green e45763193f [2.2.x] Fixed #30361 -- Increased the default timeout of watchman client to 5 seconds and made it customizable.
Made the default timeout of watchman client customizable via
DJANGO_WATCHMAN_TIMEOUT environment variable.

Backport of ed3c59097a from master
2019-04-26 13:35:47 +02:00
Aarni Koskela a4095dadc4 [2.2.x] Fixed #30312 -- Relaxed admin check from django.contrib.sessions to SessionMiddleware subclasses.
Backport of efeceba589 from master
2019-04-26 11:51:28 +02:00
Alasdair Nicol 3c3df7db8e [2.2.x] Fixed #30318 -- Added check for importability of arguments of custom error handler views.
Thanks to Jon on Stack Overflow for reporting the issue.

Backport of a5accc0368 from master
2019-04-25 11:38:35 +02:00
Mariusz Felisiak f24cf51661 [2.2.x] Fixed #30362 -- Noted partial indexes and constraints restrictions with abstract base classes.
Thanks Carlton Gibson for the review.

Backport of 5df3301aab from master
2019-04-25 07:37:34 +02:00
Mariusz Felisiak 158cfebe87 [2.2.x] Fixed UniqueConstraint example in ref/models/constraints.txt.
Backport of f8f0f92ed9 from master
2019-04-25 07:37:21 +02:00
Luke Plant 46416554f3 [2.2.x] Changed tuple Mate.unique_together/permissions to lists in docs.
Backport of 0c916255eb from master
2019-04-24 10:33:05 +02:00
Simon Charette 88bf635c35 [2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.
Regression in 1a28dc3887.

The usage of CONCAT to allow SearchVector to deal with non-text fields
made the generated expression non-IMMUTABLE which prevents a functional
index to be created for it.

Using a combination of COALESCE and ::text makes sure the expression
preserves its immutability.

Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the
review.

Backport of 405c836336 from master
2019-04-23 08:32:36 +02:00
Ville Skyttä 47885278c6 [2.2.x] Fixed typo in docs/internals/contributing/committing-code.txt.
Backport of 34a68c2cbe from master
2019-04-21 12:48:14 +02:00
Mariusz Felisiak ba20579106 [2.2.x] Made cosmetic edits in docs/releases/2.2.1.txt.
Backport of 753580ecd1 from master
2019-04-19 08:29:23 +02:00
Scott Fitsimones 95811c3de9 [2.2.x] Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a custom validator is callable.
Backport of a14c0fda15 from master
2019-04-19 08:21:29 +02:00
can e85317d731 [2.2.x] Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a nested JSONField key transform.
Backport of d87bd29c4f from master.
2019-04-18 07:37:48 +02:00
Willy Njundong ef38777ee8 [2.2.x] Updated SpatiaLite install instructions to suggest first package from recent Debian-based distributions.
Backport of 8180ffba21 from master
2019-04-17 07:57:20 +02:00
Tobias Kunze b51842af26 [2.2.x] Fixed #14808 -- Doc'd that trans and blocktrans tags don't escape translations.
Backport of 7d49ad7656 from master
2019-04-16 10:47:32 +02:00
Tobias Kunze c0dc49a772 [2.2.x] Fixed #14009 -- Fixed custom formset validation example in docs.
Backport of d610521bff from master
2019-04-16 09:26:44 +02:00
Gary Donovan 0ba78c3989 [2.2.x] Fixed typo in docs/ref/models/instances.txt.
Backport of 516d858e7a from master
2019-04-16 08:27:05 +02:00
Mariusz Felisiak e8de1cc94c [2.2.x] Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation."
This reverts commit 1299421cad due to
a regression with custom managers.

Backport of 5f7991c42c from master
2019-04-15 12:39:42 +02:00
sage 86de106864 [2.2.x] Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.
Backport of bfae195b0a from master
2019-04-15 09:13:56 +02:00
Florian Apolloner 896cc71901
[2.2.x] Fixed #30350 -- Prevented recreation of migration for operations with a range object.
Thanks to Mariusz Felisiak for helping with the patch.

Backport of 2e38f2015a from master.
2019-04-14 12:58:34 +02:00
gnl 5ed5ce5211 [2.2.x] Corrected wording in docs/intro/overview.txt.
Backport of 9f1d78f857 from master
2019-04-14 09:54:39 +02:00
Daniel Musketa f5c1d02f13 [2.2.x] Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt.
Backport of ba72606760 from master
2019-04-13 12:36:12 +02:00
Bruno Furtado bfe279293c [2.2.x] Fixed #30321 -- Added example of changed_data to forms docs.
Backport of 571ab44e8a from master
2019-04-09 22:54:02 +02:00
Florian Apolloner b88ffef7ea [2.2.x] Fixed #30330 -- Fixed setting of primary key to None during fast-delete.
Regression in bc7dd8490b.

Backport of afc708cf6d from master
2019-04-08 21:44:17 +02:00
Tim Graham 53c83387cf [2.2.x] Refs #27807 -- Removed docs for User.username_validator.
The new override functionality claimed in refs #21379 doesn't work.
Forwardport of 714fdbaa70 from stable/1.10.x.
2019-04-07 20:03:01 -04:00
Simone Pellizzari 268ed9cd8a [2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params in ArrayAgg and StringAgg.
Backport of d0315584b5 from master.
2019-04-06 15:15:40 +02:00
Nick Pope 9da25fb832 [2.2.x] Fixed #30324 -- Forced utf-8 encoding when loading the template for the technical 500 debug page.
Regression in 50b8493.
Related to ea542a9.

Backport of efb257a017 from master
2019-04-05 16:37:22 +02:00
Mariusz Felisiak 54b65b83a2
[2.2.x] Fixed #30331 -- Added support for psycopg2 2.8.
Backport of 5efaf078f7 from master
2019-04-05 11:07:18 +02:00
msg 1279fb4a00 [2.2.x] Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a.

Backport of 755673e1bc from master
2019-04-04 10:07:57 +02:00
Mariusz Felisiak ba682261eb
[2.2.x] Added stub release notes for 2.2.1.
Backport of e6588aa4e7 from master
2019-04-03 08:33:10 +02:00
Alex Gaynor 48493636d3 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of 851d9eac23 from master
2019-04-02 09:19:15 +02:00
Mariusz Felisiak de11488c52
[2.2.x] Fixed typo in docs/ref/settings.txt.
Backport of 4cbe2b06ce from master
2019-04-02 09:12:40 +02:00
Carlton Gibson cfc1197168 [2.2.x] Corrected date format in 2.2 release notes.
Backport of 93daed25a4 from master
2019-04-01 15:01:17 +02:00
Carlton Gibson bc6f1da6e9 [2.2.x] Set release date in v2.2 release notes.
Backport of 7191beec4e from master
2019-04-01 12:13:17 +02:00
Carlton Gibson 5427148687 [2.2.x] Updated man page for 2.2 final.
Backport of f9f09a8a02 from master
2019-04-01 12:04:42 +02:00
Tim Graham 917aa556a9 [2.2.x] Fixed #30289 -- Prevented admin inlines for a ManyToManyField's implicit through model from being editable if the user only has the view permission.
Backport of 8335d59200 from master.
2019-03-30 17:44:58 -04:00
Tim Graham de62ba965f [2.2.x] Added stub 2.1.8 release notes.
Backport of e245046bb6 from master
2019-03-30 13:04:40 -04:00
Tim Graham fc708f32f5 [2.2.x] Refs #30278 -- Fixed link in cached_property docs.
Backport of b9455b010e from master.
2019-03-30 09:35:21 -04:00
Matthew Schinckel f14170406c [2.2.x] Refs #30278 -- Doc'd behavior of del on an unaccessed cached_property.
Thanks to Curtis Maloney for the description of the problem.
Backport of c3c2ec54f5 from master
2019-03-30 09:29:23 -04:00
Abhishek Bera 4a7bbace6b [2.2.x] Fixed #30265 -- Fixed a tutorial number in Reusable App tutorial.
Backport of ca67f39afa from master.
2019-03-29 21:53:14 -04:00
Nick Pope 5237da3416 [2.2.x] Removed unnecessary /static from links to PostgreSQL docs.
Backport of 198a2a9381 from master.
2019-03-29 21:50:28 -04:00
Tim Graham 2fb602f581 [2.2.x] Used extlinks for Django's source code.
Backport of a68c029e22 from master.
2019-03-28 20:39:38 -04:00
Tim Graham ffdacc5879 [2.2.x] Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs.
Backport of 8e675e2bd8 from master
2019-03-28 19:57:01 -04:00
Nick Pope 6ac921bab0
[2.2.x] Refs #1660 -- Doc'd the LANGUAGES_BIDI setting.
Backport of 07daa487ae from master
2019-03-28 21:58:19 +01:00
Mariusz Felisiak c910053a09
[2.2.x] Doc'd that HttpResponse accepts bytestrings.
Backport of e449c3a832 from master
2019-03-28 10:02:24 +01:00
Mariusz Felisiak 609b7f1123
[2.2.x] Fixed "byte string" typo in various docs and comments.
Backport of 881362986a from master
2019-03-28 10:01:36 +01:00
Nick Pope d7876fc999 [2.2.x] Updated spelling and RFCs in HttpOnly cookie flag docs.
Backport of 398afba084 from master.
2019-03-27 11:11:24 -04:00
Nick Pope c04bd386d4 [2.2.x] Removed obsolete RFC from cookie docs.
RFC 2109 was obsoleted by RFC 2965 which was obsoleted by RFC 6265.

Backport of 2afd670de5 from master
2019-03-27 10:13:05 -04:00
Philipp Bosch bca600339e [2.2.x] Used monospace font in date template filter format character docs.
Helps distinguish between lowercase L and uppercase I.
Backport of 0b8abd7cdf from master.
2019-03-21 10:20:35 -04:00
Tim Graham 1ef2216ff2 [2.2.x] Fixed #30277 -- Fixed broken links to packaging.python.org.
Backport of 8f1cc7e9e6 from master.
2019-03-21 10:08:23 -04:00
Carlton Gibson 19ab698937 [2.2.x] Fixed #30263 -- Doc'd changes to form Media sorting (refs #30179).
Thanks to Tim Graham for review.
Backport of 418263c457 from master
2019-03-18 16:27:36 +01:00
Paul Wayper a48c0180f5 [2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().
Backport of 1025e76429 from master.
2019-03-18 11:11:55 -04:00
alexanderblnf 14240e491e [2.2.x] Fixed #30161 -- Added how to decorate class-based views to view decorators docs.
Backport of 406de977ea from master.
2019-03-12 13:33:52 -04:00
David Beitey 282961f553 [2.2.x] Clarified deconstruct() in Custom Model Field docs.
Backport of 9fd90c4088 from master.
2019-03-12 10:44:21 -04:00
Samuel Gaist 3e565b50a9 [2.2.x] Doc'd the use of --noinput for test database handling.
Backport of 75840688f9 from master.
2019-03-05 21:10:21 -05:00
Tobias Bengfort 18211d0a4d [2.2.x] Clarified permission-related docs.
Backport of 632d4861dd from master
2019-02-28 15:28:56 +01:00
Matthias Kestenholz d59c3fc167 [2.2.x] Fixed #30208 -- Fixed login header height and alignment in the largest breakpoint.
Backport of c41e6c4eb8 from master.
2019-02-25 15:00:27 -05:00
Tim Graham 8205116a79 [2.2.x] Refs #29683 -- Updated multi-db docs for view permission.
Backport of 50f09264ae from master
2019-02-25 14:57:12 -05:00
Mariusz Felisiak 62f28f37bf
[2.2.x] Fixed documentation of database representation for ManyToManyField.
Backport of b0799f5d86 from master
2019-02-25 20:08:11 +01:00
Mariusz Felisiak 9278acfd12
[2.2.x] Fixed #30187 -- Moved "install Django" command to a console box.
Backport of edec11ce86 from master
2019-02-16 07:58:55 +01:00
Jon Dufresne 37cc6a9dce [2.2.x] Fixed #30171 -- Fixed DatabaseError in servers tests.
Made DatabaseWrapper thread sharing logic reentrant. Used a reference
counting like scheme to allow nested uses.

The error appeared after 8c775391b7.
Backport of 76990cbbda from master.
2019-02-14 10:05:13 -05:00
Tim Graham 07b44a251a [2.2.x] Removed docs of unused libgeoip1/python-gdal packages.
Backport of 21f9d43737 from master.
2019-02-14 09:46:45 -05:00
Dan Davis 5e94c817ee [2.2.x] Fixed #30184 -- Removed ellipsis characters from shell output strings.
Partially reverted 50b8493581 (refs #29654)
to avoid a crash when the user shell doesn't support non-ASCII characters.
Backport of 2bd8df243a from master.
2019-02-13 14:00:53 -05:00
Hasan Ramezani f2b460231d [2.2.x] Fixed #29943 -- Doc'd that admin changelist may add pk to ordering.
Backport of f63811f481 from master.
2019-02-12 21:36:07 -05:00
Tim Graham c3655b1528 [2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
Backport of 3b64e2b775 from master.
2019-02-12 18:35:03 -05:00
Claude Paroz 28a6046b54 [2.2.x] Doc'd database functions for overlaps lookup.
Backport of 8cf9dbee6a from master
2019-02-12 15:43:11 -05:00
Jonatan Alexis Anauati d2f942737c [2.2.x] Fixed indentation in docs/topics/templates.txt.
Backport of 85ada61ac4 from master.
2019-02-11 16:52:41 -05:00
Tim Graham 74428138cc [2.2.x] Added CVE-2019-6975 to the security release archive.
Backport of d6e5aad5c7 from master.
2019-02-11 16:14:50 -05:00
Tim Graham f548ac7fa5 [2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.
Backport of 1b8f552b08 from master.
2019-02-11 15:52:15 -05:00
Carlton Gibson 1672ed5ccf [2.2.x] Refs #30175 -- Added release notes for 2.1.7, 2.0.12, and 1.11.20 releases.
Backport of b39bd0aa6d from master
2019-02-11 15:47:54 +01:00
Atul Varma 1092bf02e6 [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of b6bb912e9c from master.
2019-02-11 08:54:23 -05:00
Carlton Gibson 83ab3e2664 [2.2.x] Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.

Backport of 402c0caa85 from master
2019-02-11 11:10:38 +01:00
Tim Graham b89d31d2dc [2.2.x] Fixed #30169 -- Removed SAP SQL Anywhere from "3rd party database backends" as it's inactive.
Backport of 56b50cbf73 from master.
2019-02-09 18:38:43 -05:00
Mariusz Felisiak d03e5961aa
[2.2.x] Removed extra characters in docs header underlines.
Backport of 25829197bb from master
2019-02-08 21:39:54 +01:00
Carlton Gibson 941109ccb3 [2.2.x] Added stub release notes for security releases.
Backport of 5cc6f02f91 from master
2019-02-07 15:47:52 +01:00
Mariusz Felisiak 0aff35459d
[2.2.x] Updated Oracle docs links to Oracle 18c.
Backport of 759a9b710c from master
2019-02-07 10:03:11 +01:00
Andy Chosak d293948938 [2.2.x] Refs #15372 -- Removed obsolete docs about manage.py setting sys.path.
Backport of 80f4ecc647 from master
2019-02-06 14:56:16 -05:00
Tim Graham 8eb913eabf [2.2.x] Simplified and corrected LOGIN_URL, LOGIN_REDIRECT_URL, and LOGOUT_REDIRECT_URL docs.
Backport of b709d70130 from master.
2019-02-05 20:19:32 -05:00
Daniel Hahler 0838cc0139 [2.2.x] Fixed duplicate word in docs/releases/2.0.txt.
Backport of fdc4518fe2 from master.
2019-02-04 18:30:29 -05:00
Tim Graham d5b43d7226 [2.2.x] Refs #30055 -- Bumped minimum SQLite version in GIS docs.
Backport of 4763c97191 from master.
2019-02-04 11:47:15 -05:00
Tim Graham 6b3940b5a4 [2.2.x] Used extlinks for GitHub commits.
Backport of c34c6d0a2f from master.
2019-02-01 15:49:31 -05:00
Daniel Roseman a3ce94e96e [2.2.x] Used LoginRequiredMixin in "Models and request.user" example.
Backport of 6da28d5edf from master.
2019-01-31 18:02:13 -05:00
Robert Coup 953067d8dc [2.2.x] Refs #28161 -- Doc'd INSTALLED_APPS requirement for ArrayField(CIText).
Backport of a8b03bea18 from master
2019-01-31 13:42:29 -05:00
Sergey Fedoseev 6187519236 [2.2.x] Corrected output of Prefetch.to_attr example.
Backport of ba7a420012 from master.
2019-01-31 09:09:34 -05:00
Carlton Gibson 89d39dc1d7 [2.2.x] Fixed #30091 -- Doc'd middleware ordering requirements with CSRF_USE_SESSIONS.
Backport of bae66e759f from master.
2019-01-30 13:12:43 -05:00
Daniel Hahler 2789cc633f [2.2.x] Fixed typo in docs/releases/2.2.txt.
Backport of 14581553e4 from master
2019-01-29 09:10:53 -05:00
Tim Graham e8cb0dcc19 [2.2.x] Refs #30033 -- Doc'd change regarding apps without migrations depending on apps with migrations.
The addition of self.connection.check_constraints() in
7289874adc is the cause.

Backport of fcfb730658 from master.
2019-01-28 10:30:36 -05:00
Sergey Fursov 56f7f5026d [2.2.x] Fixed typo in docs/ref/request-response.txt.
Backport of 20ea68c4fe from master.
2019-01-27 17:38:44 -05:00
Pavel Savchenko 51247bc55f [2.2.x] Corrected GenericRelation's related_query_name manual lookup example.
And changed related_query_name to a singular noun.
Backport of 130192b12b from master.
2019-01-21 10:14:03 -05:00
Tim Graham a9feec5c70 [2.2.x] Refs #28606 -- Corrected deprecation version for CachedStaticFilesStorage.
Backport of 6713926ebe from master
2019-01-17 18:35:46 -05:00
Day Barr 7185ea6902 [2.2.x] Fixed typo in QuerySet.bulk_update() documentation.
Backport of 51fa59f0b3 from master.
2019-01-17 12:32:22 -05:00
Carlton Gibson 4882921fb7 [2.2.x] Bumped django_next_version in docs config. 2019-01-17 16:26:35 +01:00
Carlton Gibson a0c059995a Removed empty sections from 2.2 release notes. 2019-01-17 16:25:02 +01:00
Carlton Gibson ba1a3c6034 Updated man page for Django 2.2 alpha. 2019-01-17 16:25:02 +01:00
Santiago Basulto 4fc35a9c3e Fixed #20147 -- Added HttpRequest.headers. 2019-01-16 13:38:47 -05:00
Arthur Rio 181fb60159 Fixed #11154, #22270 -- Made proxy model permissions use correct content type.
Co-Authored-By: Simon Charette <charette.s@gmail.com>
Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2019-01-16 10:07:28 -05:00
Collin Anderson 769355c765 Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a through model. 2019-01-15 11:12:17 -05:00
David Beitey 885cb0d390 Fixed "lets" mistakes in docs. 2019-01-14 20:32:19 -05:00
Nick Pope 6d4efa8e6a Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:39:46 -05:00
Nick Pope e85afa5943 Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:38:00 -05:00
Nick Pope c690afb873 Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14 14:35:41 -05:00
Tom Forbes c8720e7696 Fixed #27685 -- Added watchman support to the autoreloader.
Removed support for pyinotify (refs #9722).
2019-01-13 20:33:47 -05:00
Nick Pope abf8e390a4 Refs #28643 -- Added Reverse database function.
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12 10:45:48 -05:00
Paveł Tyślacki b69f8eb04c Fixed #30062 -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
can 7d3b3897c1 Refs #29738 -- Allowed registering serializers with MigrationWriter. 2019-01-11 18:13:16 -05:00
MaximZemskov 3c01fe30f3 Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.
Restored backwards compatibility after refs #27991.
Regression in be6ca89396.
2019-01-11 18:02:43 -05:00
Sanyam Khurana 76d31be2d0 Refs #23829 -- Made ping_google command/function use https for the sitemap URL. 2019-01-11 10:32:22 -05:00
Sanyam Khurana 6d73278d38 Documented ping_google()'s ping_url argument. 2019-01-11 09:43:51 -05:00
Simon Charette 41e73de39d Fixed #28478 -- Make DiscoverRunner skip creating unused test databases.
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
2019-01-10 19:11:21 -05:00
Simon Charette 8c775391b7 Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases. 2019-01-10 19:11:21 -05:00
Tim Graham cf1fe22009 Fixed typos in docs/ref/models/constraints.txt. 2019-01-10 18:52:42 -05:00
Mads Jensen 4b9d72210f Refs #28643 -- Added NullIf database function.
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-10 12:10:12 -05:00
Claude Paroz 31ebb1d564 Added Armenian language 2019-01-10 10:50:42 +01:00
Joshua Cannon db1b10ef0d Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
Tim Graham 4ca2820ff5 Corrected whitespace in docs/ref/contrib/auth.txt. 2019-01-09 18:22:29 -05:00
Hasan Ramezani 52d06d3041 Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates. 2019-01-09 17:54:46 -05:00
Simon Charette bc05547cd8 Fixed #28658 -- Added DISTINCT handling to the Aggregate class. 2019-01-09 17:52:36 -05:00
Nick Pope a35d2a4510 Refs #23748 -- Added AutoField introspection for SQLite. 2019-01-09 09:59:15 -05:00
Tim Graham 36fceeec88 Added stub 2.1.6 release notes. 2019-01-08 08:57:22 -05:00
Tim Graham 162ae9c914 Added CVE-2019-3498 to the security release archive. 2019-01-04 09:24:47 -05:00
Tom Hacohen 1ecc0a395b Fixed #30070, CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.
Co-Authored-By: Tim Graham <timograham@gmail.com>
2019-01-03 21:21:55 -05:00
Jozef 5bbf31634f Fixed typo in docs/ref/migration-operations.txt. 2019-01-02 17:56:25 -05:00
Tim Graham 02c07be95c Fixed #30050 -- Fixed InlineModelAdmin.has_change_permission() called with non-None obj during add.
Thanks andreage for the report and suggested fix.
2019-01-01 09:42:14 -05:00
Paveł Tyślacki 0123b67f6b Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEditor. 2019-01-01 09:39:58 -05:00
Paveł Tyślacki bdf3863bdd Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor of Meta.constraints. 2018-12-29 20:01:29 -05:00
Adam Johnson b71e3d635a Added examples to HttpRequest.build_absolute_uri() docs. 2018-12-29 19:44:45 -05:00
Matt Wiens e817ae74da Followed style guide for model attribute ordering. 2018-12-27 19:34:14 -05:00
Jon Dufresne 6fe9c45b72 Fixed #30024 -- Made urlencode() and Client raise TypeError when None is passed as data. 2018-12-27 11:19:55 -05:00
Vedran Karačić 293db9eb36 Updated OWASP Top 10 link to the latest version. 2018-12-27 09:23:40 -05:00
CHI Cheng b7dbd5ff68 Fixed broken links to PyYAML page. 2018-12-27 10:48:37 +01:00
Marten Kenbeek 7a6dbbb655 Added import locations to contrib.postgres aggregates and validators docs. 2018-12-24 16:36:00 -05:00
Nick Pope 83677faf86 Fixed #30056 -- Added SQLite support for StdDev and Variance functions. 2018-12-24 11:14:58 -05:00
Sanyam Khurana 5d25804eaf Fixed #20098 -- Added a check for model Meta.db_table collisions. 2018-12-24 10:40:11 -05:00
Nick Pope e626a3f993 Renamed Sqlite and Sqlite3 references to SQLite. 2018-12-22 18:52:54 -05:00
Tim Graham d5af14aa84 Fixed #30055 -- Dropped support for SQLite < 3.8.3. 2018-12-22 16:59:28 -05:00
Simon Charette c5b58d7767 Refs #29928 -- Adjusted release notes of SQLite test constraint checking. 2018-12-22 14:32:40 -05:00
François Freitag e671337e8b Fixed #29750 -- Added View.setup() hook for class-based views. 2018-12-21 19:01:11 -05:00
Carlton Gibson bbe28fa076 Refs #30015 -- Added 2.1.5 release note and removed 'we' in comments. 2018-12-20 21:30:13 -05:00
Dakota Hawkins 8d3147e130 Fixed #30031 -- Added --no-header option to makemigrations/squashmigrations. 2018-12-19 12:41:31 +01:00
Simon Charette 1939dd49d1 Fixed #29928 -- Enabled deferred constraint checks on SQLite 3.20+.
Refs #11665, #14204.

Thanks Michel Samia for the report.
2018-12-17 11:03:44 +01:00
Simon Charette 315357ad25 Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.

SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.

Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-15 18:51:59 -05:00
Carlton Gibson a394289b58
Fixed #30036 -- Removed unused imports in pagination example. 2018-12-12 18:49:47 +01:00
Jon Dufresne c5568340a5 Added blank line in docs/releases/2.2.txt. 2018-12-09 10:26:55 -05:00
Simon Charette c8ffdbe514 Fixed #29182 -- Fixed schema table alteration on SQLite 3.26+.
SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.

The newly introduced legacy_alter_table pragma disables this behavior
and restores the previous schema editor assumptions.

Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.
2018-12-07 13:32:37 -05:00
Benjamin Wohlwend 79c196cfb2 Fixed #28766 -- Added ResolverMatch.route.
Co-Authored-By: Xavier Fernandez <xavier.fernandez@polyconseil.fr>
2018-12-06 18:05:40 -05:00
Rodrigo ad191d9e01 Fixed #29895 -- Doc'd why MySQL's atomic DDL statements don't work for atomic migrations. 2018-12-06 16:03:02 -05:00
Tim Graham 88619e6129
Bumped mysqlclient requirement to >= 1.3.13.
There are test failures with older versions.
2018-12-06 14:49:27 -05:00
Tim Graham 4c7c608a1d Reverted "Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb."
This reverts commits b3b1d3d45f and
9fa0d3786f due to reverse build failures
for which a solution isn't forthcoming.
2018-12-05 15:30:23 -05:00
Tim Graham 284b3221a2 Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+. 2018-12-05 14:46:23 -05:00
Carlton Gibson 196b420fcb Added stub release notes for 2.1.5 release. 2018-12-04 16:21:38 +01:00
Carlton Gibson 346721a038 Added release date for 2.1.4. 2018-12-03 17:29:46 +01:00
Carlton Gibson 8245c99ee6
Fixed #29930 -- Allowed editing in admin with view-only inlines.
Co-authored-by: Tim Graham <timograham@gmail.com>
2018-12-03 07:44:18 -08:00
Carlton Gibson 950112548e Added release date for 1.11.17. 2018-12-03 15:14:58 +01:00
raratiru 793a71b7be Fixed #29991 -- Doc'd logger propogation for the default logging config. 2018-11-29 16:59:43 -05:00
Basil Dubyk 7d1123e5ad Fixed #29929 -- Fixed admin view-only change form crash when using ModelAdmin.prepopulated_fields. 2018-11-28 15:40:14 -05:00
Tim Graham 682cdf6cab Refs #28205 -- Corrected ModelAdmin.prepopulated_fields docs regarding when they're populated. 2018-11-28 14:48:03 -05:00
Tim Graham 926fa7116f Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates. 2018-11-27 11:20:23 -05:00
Simon Charette 9a7d336c38 Corrected Aggregate docs to reflect that it accepts multiple expressions. 2018-11-27 09:22:24 -05:00
Mariusz Felisiak f091ea3515
Refs #29722 -- Added introspection of materialized views for Oracle.
Thanks Tim Graham for the review.
2018-11-26 19:45:05 +01:00
Damian Dimmich 133e79399a Updated docs for fast column creation with defaults in PostgreSQL 11. 2018-11-26 09:51:29 -05:00
Nick Pope c512912463 Refs #23801 -- Made integer field max_length warning show correct field type. 2018-11-23 14:40:46 -05:00
andreage 78fc64578a Fixed typo in docs/topics/i18n/translation.txt. 2018-11-23 10:11:51 +01:00
Mariusz Felisiak d5f4ce9849
Fixed #29949 -- Refactored db introspection identifier converters.
Removed DatabaseIntrospection.table_name_converter()/column_name_converter()
and use instead DatabaseIntrospection.identifier_converter().

Removed DatabaseFeatures.uppercases_column_names.

Thanks Tim Graham for the initial patch and review and Simon Charette
for the review.
2018-11-21 09:06:50 +01:00
redodo 2e4776196d Fixed #29953 -- Added CSS class to column headers in tabular inlines.
The class name is the same as one given to the fields in the change list.
2018-11-20 18:17:53 -05:00
Tim Graham 5d327a63ef Refs #29849 -- Forwardported 2.1.4 release note. 2018-11-20 17:45:29 -05:00
Tim Graham 3529d0eabf Corrected docs and removed unused code for got_request_exception signal's sender argument.
Inaccurate since 7d1b69dbe7.
2018-11-20 10:15:58 -05:00
Nick Pope ebd270627c Refs #29722 -- Added introspection of partitions for PostgreSQL. 2018-11-19 14:06:01 -05:00
Thomas Grainger 0607699902 Fixed #29478 -- Added support for mangled names to cached_property.
Co-Authored-By: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2018-11-19 13:40:49 -05:00
Tim Graham f436c82637 Doc'd purpose of "Database backend API" backwards incompatible changes section. 2018-11-17 15:58:10 -05:00
Tim Graham 2fd21a1858 Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x. 2018-11-17 15:40:35 -05:00
Claude Paroz e7e5505902 Fixed #29959 -- Cached GEOS version in WKBWriter class.
Regression in f185d929fa.
2018-11-16 14:45:21 -05:00
Tim Graham 97cec6f75d Removed release date for 2.0.10 and 1.11.17. 2018-11-16 09:34:10 -05:00