Maxime Lorant
241e1e3cd7
Removed SHOUTING in doc examples.
2017-01-09 17:00:44 -05:00
anabelensc
1c12df4aa6
Fixed #25912 -- Added binary left/right shift operators to F expressions.
...
Thanks Mariusz Felisiak for review and MySQL advice.
2017-01-03 14:15:46 -05:00
Tim Graham
2f44fa7f06
Documented how to copy a OneToOneField.
...
Thanks Anton Gilgur for the report and review.
2016-12-17 08:39:52 -05:00
Tim Graham
8dac9890a5
Refs #25550 -- Removed a deprecated reverse assignment example in docs.
2016-12-17 08:39:52 -05:00
Simon Charette
9e4fd3301d
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
...
Thanks IRC alias rpkilby for the report.
2016-11-15 08:25:02 -05:00
Timothy Allen
5595db9504
Updated docs/topics/db/queries.txt examples to use print() function.
2016-10-31 15:22:32 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
Tim Graham
e475e84970
Refs #26021 -- Used hanging indentation in some doc examples.
2016-05-14 19:06:31 -04:00
Tim Graham
f5ff5010cd
Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
2016-05-08 18:07:43 -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
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
anabelensc
4c1fab0f29
Added a missing bracket in a queries docs example.
2016-01-09 12:17:21 -05: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
Aymeric Augustin
491d01b7e9
Tweak some examples.
...
"Area man/woman" is confusing to people not familiar with the
conventions of American journalism (like me).
2015-08-22 20:25:42 +02:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Maximiliano
bf07ba523a
Simplified wording in QuerySet.update() docs.
2015-06-01 09:42:23 -04:00
Alexander Sosnovskiy
04e8d890ae
Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects.
2015-05-22 13:27:16 -04:00
David Seddon
0f6f80c2e7
Corrected typo in documentation
2015-03-25 17:38:56 +00:00
David Seddon
6770b7ecd2
Refs #14645 -- Documented bug with exclude() and multi-value relations
2015-03-20 17:49:07 -04:00
Loic Bistuer
71ada3a8e6
Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it.
...
Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
2015-02-05 12:45:08 +07:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
Éric Araujo
84cafc2b35
Fix missing highlighting in some code examples
2014-06-05 14:54:28 -04:00
Aliaksandr Semianiuk
5b185ecc68
Fixed #22019 -- Added Model.objects reference documentation.
2014-05-17 08:32:05 -04:00
Tim Graham
7f2505ad9e
Fixed doc typos.
2014-02-28 11:44:03 -05:00
Nicolaas Heyning
e1d2a0bd04
added documentation on Model attributes
2014-02-23 17:16:12 +01:00
Loic Bistuer
99416c7ad0
Added an example to the release notes for custom reverse managers.
2014-02-19 07:45:24 -05:00
Alasdair Nicol
8aa1efff6d
Fixed #21951 -- Updated docs to use __str__ for Python 3
...
Thanks Tim Graham for the report and recommendations
2014-02-13 07:12:40 -05:00
Tim Graham
5c7ac7494a
Fixed #18907 -- Correct docs regard population of model backrefs.
...
Thanks simonpercivall for the report and Aymeric for the patch.
2014-01-19 09:35:59 -05:00
Tim Graham
b87c59b04b
Removed some unnecessary __exact operators in filters.
2014-01-17 18:12:45 -05:00
Florian Hahn
5240b83462
Fixed #17027 -- Added support for the power operator in F expressions.
...
Thanks dan at dlo.me for the initial patch.
- Added __pow__ and __rpow__ to ExpressionNode
- Added oracle and mysql specific power expressions
- Added used-defined power function for sqlite
2013-10-22 10:29:57 -04:00
Cody Scott
8bfc7cc64c
Minor edits to docs/topics/db/queries.txt.
2013-10-11 15:34:11 -04:00
Tim Graham
75bb6ba966
Fixed #10913 -- Documented how related_name affects QuerySet filtering
...
Thanks neithere for the suggestion.
2013-10-02 12:12:53 -04:00
Loic Bistuer
04a2a6b0f9
Fixed #3871 -- Custom managers when traversing reverse relations.
2013-09-25 21:15:59 +03:00
evildmp
79cc66692a
Consolidated documentation for F() and Q()
2013-09-06 12:57:25 -05:00
Tim Graham
7b69c3e775
Removed versionadded/changed annotations for 1.5
2013-08-19 09:09:41 -04:00
Dominic Rodger
c33d1ca1d9
Fixed #20852 - Fixed incorrectly generated left quotes in docs.
...
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
2013-08-06 07:13:17 -04:00
Claude Paroz
64099e30e8
Removed obsolete sentence in queries docs
2013-07-13 21:08:44 +02:00
Claude Paroz
7442eb1a24
Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05 19:27:07 +02:00
Tim Graham
8365d76da0
Fixed #20513 - Expanded docs on QuerySet caching.
...
Thanks seddonym.
2013-05-28 08:41:13 -04:00
Tim Graham
41bea033b7
Fixed #20183 - Clarified docs assumption that certain objects exist in database.
...
Thanks Tomasz Jaskowski for the patch.
2013-05-19 11:31:27 -04:00
Marc Egli
e4591debd1
Add missing imports and models to the examples in the the model layer documentation
2013-05-18 18:38:52 +02:00
Mike Fogel
1ad83145df
Remove outdated ForeignKey manager documentation.
2013-05-07 10:06:15 -04:00
Juan Catalano
78c842a323
Adapted uses of versionchanged/versionadded to the new form.
...
Refs #20104 .
2013-04-20 17:18:35 +02:00
Tim Graham
93cffc3b37
Added missing markup to docs.
2013-03-22 13:50:07 -04:00
Claude Paroz
b0ba21db07
Fixed #19926 -- Fixed a link to code example in queries docs
...
Thanks Randy Salvo for the report.
2013-02-27 21:30:54 +01:00
Tim Graham
64d0f89ab1
Fixed #19717 - Removed mentions of "root QuerySet" in docs.
...
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
2013-02-18 09:35:22 -05:00
Aymeric Augustin
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00