Tim Graham
fe8b55699a
[1.10.x] Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.
...
Backport of 3ce212a23c55c0e2fb99a632afdf04d03cf41e74 from master
2016-11-16 07:28:51 -05:00
Simon Charette
65cdded2c9
[1.10.x] Refs #25284 -- Corrected an obsolete implicit __in lookup example.
...
Thanks IRC alias rpkilby for the report.
Backport of 9e4fd3301d0a4e40cab8df4b51a2b04274f61da0 from master
2016-11-15 08:25:16 -05:00
Jezeniel Zapanta
6a476bd229
[1.10.x] Fixed typo in docs/topics/db/multi-db.txt.
...
Backport of 48f45431eb588c9193408fc7b58e8ccf9c179568 from master
2016-11-11 12:41:35 -05:00
Timothy Allen
355917f7c4
[1.10.x] Updated docs/topics/db/queries.txt examples to use print() function.
...
Backport of 5595db9504ca3fe431f04f853ac8b71edac012c9 from master
2016-10-31 15:23:14 -04:00
Marti Raudsepp
ae91fc786c
[1.10.x] Updated postgresql.org links to https and made them canonical.
...
Backport of 51fbe2a60d9c7ff3fe62688ad262ccda648f506d from master
2016-10-25 11:43:54 -04:00
Jonatas CD
fbf59a2967
[1.10.x] Refs #11078 -- Doc'd Meta inheritance in proxy models.
...
Backport of e8728f03f0bfbdb555be0a663d1608e1991d10a6 from master
2016-10-04 19:54:13 -04:00
Tim Graham
c37e170f7a
[1.10.x] Updated links to the current version of MySQL docs.
...
Backport of 98196766769c2ed8816772b60a2e8b79028963a2 from master
2016-09-30 09:15:49 -04:00
Chris Jerdonek
d923733234
[1.10.x] Fixed #27172 -- Closed database cursor explicitly in two doc examples
...
Backport of ccf7adb064a70eb1b1ec5857f1dd54988f5c983c from master.
2016-09-07 12:16:31 +02:00
Shai Berger
57f7d8968d
[1.10.x] Refs #25850 , #27142 , #27110 -- Documented migration history consistency checks.
...
Backport of c93ac9cf42bff259ab71b70a89b693b9c38e4666 from master
2016-09-01 18:50:09 -04:00
Tim Graham
2078b187f7
[1.10.x] Refs #27164 -- Fixed typo in docs/topics/db/multi-db.txt
...
Backport of 789f9c9b29dc79c3007b2b31cb75cf8d037f266d from master
2016-09-01 09:53:51 -04:00
Tim Graham
8df2da3637
[1.10.x] Fixed #19222 -- Documented that default managers aren't used for related queries.
...
Backport of 8fb53c50ce1c759c740960c9e1cef3cef39cabc5 from master
2016-08-16 13:13:10 -04:00
Timothy Allen
7d11d61087
[1.10.x] Documented how allow_migrate() interacts with makemigrations.
...
Backport of df92f6f2e3ad2c6b1e4da7f4225d313e2640d30f from master
2016-08-15 13:35:05 -04:00
Liz Lemon
0d82389adf
[1.10.x] Edited multi-db topic guide for grammar and clarity.
...
Backport of ea65c7cb4819cf18ac66215bc7b4df4af3fbe5ad from master
2016-08-05 12:56:12 -04:00
Tim Graham
a4df6577df
[1.10.x] Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.
...
Backport of 3aaf6cf0f3288986c4ce56defea26420f8a48534 from master
2016-07-25 06:25:26 -04:00
Tim Graham
44eaa2dac8
[1.10.x] Fixed typo in docs/topics/db/managers.txt
...
Backport of 00551c3eff5cedcb9cc7ce5af97b948d62713d97 from master
2016-06-20 09:07:51 -04:00
Evan Palmer
101f999776
[1.10.x] Fixed #25127 -- Documented how to organize models in a package.
...
Backport of 84d8d1d7151a4ee70ae35037d37f76a40d18da64 from master
2016-06-04 11:48:16 -04:00
Ed Henderson
521772ff07
[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
...
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-03 11:49:24 -04:00
MariKiev
699e43b017
[1.10.x] Added imports to docs/topics/db/aggregation.txt example.
...
Backport of 30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530 from master
2016-05-25 09:57:44 -04:00
Loïc Bistuer
ed0ff913c6
Fixed #10506 , #13793 , #14891 , #25201 -- Introduced new APIs to specify models' default and base managers.
...
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932 , #25897 .
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
Loïc Bistuer
3a47d42fa3
Fixed #20932 , #25897 -- Streamlined manager inheritance.
2016-05-17 02:29:22 +07:00
Aron Podrigal
85ef98dc6e
Fixed #24305 -- Allowed overriding fields on abstract models.
...
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
2016-05-16 07:32:21 -04:00
Tim Graham
e475e84970
Refs #26021 -- Used hanging indentation in some doc examples.
2016-05-14 19:06:31 -04:00
Tim Graham
af69c9113c
Fixed typo in docs/topics/db/models.txt
2016-05-13 15:18:33 -04:00
Matthew Somerville
1962a96a30
Fixed #24938 -- Added PostgreSQL trigram support.
2016-05-13 12:38:21 -04:00
Tim Graham
f5ff5010cd
Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
2016-05-08 18:07:43 -04:00
shiblystory
6ae617dc57
Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.
2016-05-07 06:53:03 -04:00
Tim Graham
fe70f280d7
Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.
...
Thanks Ankush Thakur for the report and Simon for the review.
2016-04-27 15:16:00 -04:00
Marc Tamlyn
2d877da855
Refs #3254 -- Added full text search to contrib.postgres.
...
Adds a reasonably feature complete implementation of full text search
using the built in PostgreSQL engine. It uses public APIs from
Expression and Lookup.
With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel
and many others for their advice and review. Particular thanks also go
to the supporters of the contrib.postgres kickstarter.
2016-04-22 10:44:37 +01:00
Simon Charette
64aba7a8ab
Fixed #26438 -- Fixed multiple .objects typos in the docs.
...
Thanks Pablo Oubiña for the report.
2016-03-31 18:27:47 -04:00
Akshesh
49f95cc0a0
Fixed #11560 -- Allowed proxy model multiple-inheritance from the same concrete base model.
2016-03-30 13:06:27 -04:00
Tim Shaffer
8550566af6
Fixed typo in docs/topics/db/aggregation.txt.
2016-03-25 13:38:16 -04:00
Tim Graham
22d2a5b00a
Corrected a run on sentence in doc/topics/db/models.txt.
2016-02-25 14:22:41 -05:00
Markus Holtermann
228427ab1a
Fixed allow_migrate() signature in documentation
2016-02-12 14:16:03 +11:00
Becka R
cf48962b36
Clarified "database column type" explanation.
2016-02-11 18:26:46 -05:00
Tim Graham
8ce8beb3f2
Unified some doc links to OneToOneField and ManyToManyField.
2016-02-01 11:02:26 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
James Pulec
f05722a08a
Fixed #25354 -- Added class/app_label interpolation for related_query_name.
2016-01-28 11:10:47 -05:00
Elif T. Kus
bca9faae95
Fixed #26020 -- Normalized header stylings in docs.
2016-01-22 12:12:17 -05:00
Tim Graham
e519aab43a
Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
anabelensc
4c1fab0f29
Added a missing bracket in a queries docs example.
2016-01-09 12:17:21 -05:00
Tim Graham
98839e9066
Removed British/Austrialian word: whilist.
2015-12-31 14:29:52 -05:00
Tim Graham
dbb0df2a0e
Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument.
2015-12-29 12:49:14 -05:00
Tim Graham
3d2236773b
Refs #10060 -- Corrected description of multiple annotations bug.
2015-12-15 07:59:37 -05:00
bphillips
d508326e2f
Fixed #25672 -- Clarified why related ManyToManyFields with a custom intermediate model disable the remove() method.
2015-12-08 18:00:10 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
James Beith
e03798a4ae
Fixed a typo in the managers docs.
2015-11-27 13:51:58 -05:00
Tim Graham
91a431f48c
Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
2015-11-12 12:29:59 -05:00
Attila Tovt
ac750dbbc0
Fixed #25681 -- Added 'default' to DATABASES example.
2015-11-07 11:09:31 +01:00
Tomasz Anielak
b67502fb8d
Fixed typo in docs/topics/db/models.txt.
2015-10-31 08:53:00 -04:00
Tim Graham
9c5e272860
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
2015-10-27 07:57:15 -04:00