Sergey Fedoseev
c2a8a69b72
[2.2.x] Used 🎫 role in all tickets links.
...
Backport of abc51d44afcb8482c64c0bb8c1022f11e7eb2bbb from master.
2019-11-26 14:45:15 +01:00
Caio Ariede
11e42001d9
[2.2.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
...
Make sure that AuthRouter includes ContentType in the same database.
Backport of 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-20 11:51:59 +01:00
David Foster
afde973061
[2.2.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
...
Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-12 13:13:49 +01:00
René Fleschenberg
a39db53e0c
[2.2.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
...
Backport of 367634f976ab43db93321bf4eb898449b670e291 from master
2019-11-07 09:41:27 +01:00
Mariusz Felisiak
a7f90d9c02
[2.2.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
...
Follow up to 97d3321e89c8d4434927bdbc308db1ccffa99d3b.
Backport of e5cacb1f47cb3a2943bbc7685a630c84503b0d1b from master
2019-11-05 08:40:38 +01:00
Mariusz Felisiak
3ca4457af3
[2.2.x] Corrected error message in Many-to-many relationships docs.
...
Backport of a370dbd9543703677697e80701b5dbec8c8e7da7 from master
2019-10-30 16:18:18 +01:00
Simon Charette
f037ae11ec
[2.2.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
...
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
2019-10-14 12:53:32 +02:00
daniel a rios
f9462f4c82
[2.2.x] Fixed #30656 -- Added QuerySet.bulk_update() to the database optimization docs.
...
Backport of 68aeb9016084290aac4f82860e17a9f4e941676e from master
2019-07-29 10:10:00 +02:00
daniel a rios
b4139ed6ea
[2.2.x] Refs #30656 -- Reorganized bulk methods in the database optimization docs.
...
Backport of fe33fdc049df75f9dd8e2eecc8c94aefc0132cb8 from master
2019-07-29 10:09:53 +02:00
Meysam
04965bf92d
[2.2.x] Fixed typo in docs/topics/db/models.txt.
...
Backport of 833878411c35e1d47abfb77c23863a9dc9bb6d27 from master
2019-06-24 09:05:15 +02:00
Caio Ariede
d6d65c1e87
[2.2.x] Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.
...
Backport of 5248abe9b0425c1fc989c60a55860cdb4d135bcf from master
2019-06-04 14:57:08 +02:00
Akshesh
efb906cbe4
[2.2.x] Fixed #30419 -- Favored Meta.indexes over Meta.index_together in optimization docs.
...
Backport of 888fdf182e164fa4b24aa82fa833c90a2b9bee7a from master
2019-05-22 07:55:31 +02:00
Jon Dufresne
ed221f7c97
[2.2.x] Changed docs to link to Python's description of iterable.
...
Backport of e86cc14bd36734d81c4e490a2453778e33b95a45 from master
2019-05-17 17:27:57 +02:00
Jon Dufresne
08c8838727
[2.2.x] Changed tuple choices to list in docs.
...
Backport of 97d3321e89c8d4434927bdbc308db1ccffa99d3b from master
2019-05-15 14:41:01 +02:00
Daniel Musketa
f5c1d02f13
[2.2.x] Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt.
...
Backport of ba726067604ce5a8ca3919edf653496722b433ab from master
2019-04-13 12:36:12 +02:00
Nick Pope
5237da3416
[2.2.x] Removed unnecessary /static from links to PostgreSQL docs.
...
Backport of 198a2a9381a415f76c3170753270f5087ce4475a 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 a68c029e224cebe540da7447dbbd27993b4aa793 from master.
2019-03-28 20:39:38 -04:00
Tim Graham
8205116a79
[2.2.x] Refs #29683 -- Updated multi-db docs for view permission.
...
Backport of 50f09264ae8ab04824fcc6554e8c184378ad2f81 from master
2019-02-25 14:57:12 -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
Matt Wiens
e817ae74da
Followed style guide for model attribute ordering.
2018-12-27 19:34:14 -05:00
François Freitag
9b15ff08ba
Used auto-numbered lists in documentation.
2018-11-15 13:54:28 -05:00
Katie McLaughlin
9886dffdf4
Fixed #29940 -- Recommended using the ORM rather than raw SQL.
2018-11-13 18:15:24 -05:00
Peter Inglesby
a1ffbfb801
Removed unused fields from aggregation docs.
2018-10-13 21:13:45 -04:00
Jon Dufresne
8c3e0eb1c1
Normalized spelling of "lowercase" and "lowercased".
2018-09-25 10:30:18 -04:00
Jon Dufresne
ad9a28ee38
Refs #29784 -- Normalized Python docs links to omit the version.
2018-09-25 10:19:42 +02:00
Tim Graham
d483a5f0dc
Fixed #29756 -- Doc'd that model field names can't end with an underscore.
2018-09-14 11:38:39 -04:00
Ramiro Morales
1b1f64ee5a
Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
...
Thanks Ramiro Morales for contributing to the patch.
2018-09-13 12:29:48 -04:00
Curtis Maloney
c49ea6f591
Refs #20910 -- Replaced snippet directive with code-block.
2018-09-10 13:00:34 -04:00
Vishvajit Pathak
a48bc0cec9
Fixed #29573 -- Added links in aggregation topic guide.
2018-09-10 09:53:19 -04:00
Tom Forbes
b042ab8976
Fixed #29685 -- Added QuerySet.explain() to the database optimization docs.
2018-08-18 09:22:21 -04:00
Tim Graham
cef8f6a61b
Fixed #29591 -- Fixed numbering words in docs/topics/db/examples/many_to_many.txt.
2018-07-24 16:02:35 -04:00
Tim Graham
6b6bdfe25c
Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt.
2018-07-19 15:47:20 -04:00
Mattia Cattarinussi
2a0116266c
Refs #29513 -- Linked the testing docs from the multi-db topic guide.
2018-06-28 20:29:07 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-05-12 19:37:42 +02:00
Stefan R. Filipek
9ec77f3d66
Fixed #29349 -- Doc'd the default behavior of router.allow_relation().
2018-04-23 10:21:22 -04:00
Adnan Umer
f2026ca5e2
Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.
2018-04-19 12:46:31 -04:00
Adnan Umer
ec0319ff82
Fixed #29339 -- Added result caching to RawQuerySet.
2018-04-19 11:35:49 -04:00
Luoxzhg
99539ca319
Fixed typo in docs/topics/db/managers.txt.
2018-04-11 22:24:29 -04:00
Luoxzhg
9d7e2c7b44
Fixed mistakes in docs/topics/db/examples/many_to_one.txt.
2018-04-10 11:16:42 -04:00
Jezeniel Zapanta
abe6c5defe
Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
2018-03-20 21:09:08 -04:00
Denis
1834490a0c
Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations.
2018-03-20 20:43:33 -04:00
ovalseven8
22bcd3a1d8
Fixed #29192 -- Corrected docs regarding overriding fields from abstract base classes.
2018-03-13 12:45:01 -04:00
Mariusz Felisiak
7c81b28ebc
Updated various links in docs to use HTTPS.
2018-01-07 14:28:41 +01:00
Jon Dufresne
7a6fbf36b1
Fixed #28853 -- Updated connection.cursor() uses to use a context manager.
2017-11-28 11:28:09 -05:00
Luke Plant
e283c1a267
Linked to prefetch_related_objects func in DB optimization docs.
2017-11-23 21:26:39 +03:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Tim Graham
00b93c2b1e
Fixed typo in docs/topics/db/aggregation.txt.
2017-11-07 09:03:01 -05:00
Ville Skyttä
617686e226
Fixed 'a'/'an' mix-ups in docs.
2017-10-30 21:47:09 -04:00
LeeHanYeong
3ffbd54566
Removed incorrect reference to ModelChoiceField in Field.choices docs.
2017-10-13 10:37:04 -04:00