Ramiro Morales
b5eddde095
[1.5.x] Reference Meta.index_together in DB performance guide.
...
9dc45efeba
from master.
2013-09-22 14:07:36 -03:00
Tim Graham
56192d21d5
[1.5.x] Fixed #20543 - Typo in db model fields docs.
...
Thanks i.amber.jain@ for the report.
Backport of f315693304
from master
2013-06-01 05:50:09 -04:00
Tim Graham
2e026739dc
[1.5.X] Fixed #20513 - Expanded docs on QuerySet caching.
...
Thanks seddonym.
Backport of 8365d76da0
from master
2013-05-28 08:43:05 -04:00
Tim Graham
66005c643c
[1.5.X] Fixed #20183 - Clarified docs assumption that certain objects exist in database.
...
Thanks Tomasz Jaskowski for the patch.
Backport of 41bea033b7
from master
2013-05-19 11:34:25 -04:00
Tim Graham
a825b1903d
[1.5.x] Fixed #20168 - Generalized a PostgreSQL specific database query in the docs.
...
Thanks Russ for the suggestion.
Backport of c119d0f152
from master
2013-03-31 03:41:44 -04:00
Nimesh Ghelani
1d620fb957
[1.5.x] Fixed #20150 -- Fixed an error in manager doc example
...
Backport of 485c024567
from master
2013-03-29 15:55:23 -04:00
Tim Graham
f7ca464039
[1.5.x] Added missing markup to docs.
...
Backport of 93cffc3b37
from master.
2013-03-22 14:08:55 -04:00
Claude Paroz
171a6635d2
[1.5.x] Fixed #19926 -- Fixed a link to code example in queries docs
...
Thanks Randy Salvo for the report.
Backport of b0ba21db07
from master.
2013-02-27 21:32:08 +01:00
Tim Graham
72db38facc
[1.5.X] Added an example of "default" database dictionary left blank; refs #19775 .
...
Thanks wsmith323 for the patch.
Backport of cf890c110e
from master
2013-02-23 16:03:03 -05:00
Tim Graham
fceafa1929
[1.5.X] Fixed #19775 - Clarified requirements of the "default" database.
...
Thanks monkut for the report and wsmith323 for the patch.
Backport of 31bcb102b2
from master
2013-02-23 15:23:00 -05:00
Tim Graham
5d853db90e
[1.5.X] Fixed #19717 - Removed mentions of "root QuerySet" in docs.
...
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
Backport of 64d0f89ab1
from master
2013-02-18 09:36:49 -05:00
Ramiro Morales
89ce55b301
[1.5.x] Mention backward relationships in aggregate docs.
...
Thanks Anssi and Marc Tamlyn for reviewing.
Fixes #19803 .
0560bfb705
from master.
2013-02-14 20:47:04 -03:00
Tim Graham
a81363d85a
[1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
...
Backport of 43efefae69
from master
2013-02-07 07:03:46 -05:00
Tim Graham
be1e006c58
[1.5.x] Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
Backport of 9b5f64cc6e
from master.
2013-01-02 18:50:00 -05:00
Tim Graham
9e5ada79bf
[1.5.x] Fixed broken links, round 4. refs #19516
...
Backport of 067505ad19
from master
2012-12-29 15:57:57 -05:00
Preston Holmes
8d1b190248
[1.5.x] Fixed #19498 -- refactored auth documentation
...
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:48:05 -08:00
Tim Graham
fbc06eef1a
[1.5.X] Fixed broken links, round 3. refs #19516
...
Backport of b3a8c9dab8
from master
2012-12-26 19:10:50 -05:00
Tim Graham
91af9230ad
[1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
...
Thanks Mike O'Connor for the report.
Backport of 52a2588df6
from master
2012-12-21 15:53:23 -05:00
Tim Graham
e11bd5c5ac
[1.5.X] Fixed #19442 - Clarified that raw SQL must be committed.
...
Thanks startup.canada for the suggestion.
Backport of 31f49f1396
from master
2012-12-18 08:14:37 -05:00
Russell Keith-Magee
9cf566233b
[1.5.X] Fixed #19384 -- Documented the behavior of custom managers on abstract models.
...
This documents the behavior introduced by cc337a74
, which is BACKWARDS
INCOMPATIBLE for any attempt to invoke a method on a manager using the
abstract class as the calling class (e.g., AbstractBase.objects.do_something())
Thanks to mhsparks for the report.
Backport of 1b646e656e
from master.
2012-12-15 22:46:55 +08:00
Aymeric Augustin
44e56238d7
[1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
...
Backport of a001f3c
.
2012-12-14 21:16:04 +01:00
Tim Graham
931b0f8ccd
[1.5.X] Fixed #19352 - Added an example in the QuerySet docs.
...
Thanks colinkeenan for the suggestion.
Backport of ba2adc9c05
from master
2012-11-27 18:22:49 -05:00
Aymeric Augustin
a79e4521e5
[1.5.x] Negligible style fix in docs.
...
Backport of 5c81e9d
.
2012-11-23 20:41:08 +01:00
WoLpH
f88319dc3c
[1.5.X] Changed if statement to a slightly cleaner variant
...
Backport of eabb44417c
from master
2012-11-23 07:13:24 -05:00
Aymeric Augustin
9bd67f056c
[1.5.x] Fixed #16039 -- Made post_syncdb handlers multi-db aware.
...
Also reverted 8fb7a90026
. Refs #17055 .
Backport of a026e48
from master.
2012-11-22 20:54:20 +01:00
Tim Graham
84e33545c9
[1.5.X] Fixed #19154 - Noted commit_manually requires commit/rollback for reads
...
Thanks als for the report.
Backport of 620e0bba49
from master
2012-11-06 17:50:00 -05:00
Tim Graham
ffc649df88
[1.5.X] Fixed #15361 - Documented performance considerations for QuerySet.get()
...
Thanks mmcnickle for the patch.
Backport of feaf9f279a
from master
2012-11-02 17:59:51 -04:00
Florian Apolloner
cb2817543f
[1.5.x] Removed a redundant colon in the query docs.
...
Thanks to Berker Peksag for the patch.
Backport of 4f11b7362206224ad876018bba19b7c9a08b7f0b from master.
2012-10-27 21:20:21 +02:00
Tim Graham
5fb22329a1
Merge pull request #422 from elvard/18996
...
Fixed #18996 - Clarified overriden model methods not called on bulk operations
2012-10-12 16:45:45 -07:00
Tim Graham
6b56aeec6e
Merge pull request #428 from donspaulding/patch-1
...
Removed extra indent in docs/topics/db/queries.txt
2012-10-11 16:19:32 -07:00
Tim Graham
dd0cbc6bdc
Fixed #16588 - Warned about field names that conflict with the model API
2012-10-11 18:05:12 -04:00
Anssi Kääriäinen
b625e8272b
Moved F() '&' and '|' to .bitand() and .bitor()
...
Done for consistency with Q() expressions and QuerySet combining. This
will allow usage of '&' and '|' as boolean logical operators in the
future. Refs #16211 .
2012-10-10 01:15:29 +03:00
Anssi Kääriäinen
a8b1861fc4
Revert "Fixed #16211 -- Added comparison and negation ops to F() expressions"
...
This reverts commit 28abf5f0eb
.
Conflicts:
docs/releases/1.5.txt
2012-10-10 01:15:29 +03:00
Tim Graham
6d46c740d8
Fixed #17435 - Clarified that QuerySet.update returns the number of rows matched
2012-10-06 07:03:20 -04:00
Don Spaulding
70fac984c8
Fixed format-o in docs/topics/db/queries.txt
...
It appears that our infamous villain, Significant Whitespace,
has struck again.
In this episode, little Timmy finds himself trapped in a
code well. He need not despair, however, as Indentation Man
has heard his cries for help and sprung into action.
With his feline helper, Octocat, at his side, Indentation Man
races to the scene, flings open a web-based code editor, and with
terrific aplomb, frees Timmy to be the documentation he always
wanted to be.
Once again Goodness has prevailed. In the fight for readable
documentation, no stray whitespace will ever be able to
withstand the str.strip()ing nature of....INDENTATION MAN.
2012-10-05 19:17:00 -05:00
Tomáš Ehrlich
443999a1ee
Fixed #18996 - Docs on overriden model methods
2012-10-04 14:03:48 +02:00
Anssi Kääriäinen
28abf5f0eb
Fixed #16211 -- Added comparison and negation ops to F() expressions
...
Work done by Walter Doekes and Trac alias knoeb. Reviewed by Simon
Charette.
2012-09-30 17:51:06 +03:00
Tim Graham
837425b425
Fixed #18934 - Removed versionadded/changed annotations for Django 1.3
2012-09-20 19:06:55 -04:00
James Bennett
5c5226a520
Fix typo: Non -> None
2012-09-08 16:14:13 -04:00
James Bennett
408c10e541
Untabify multi-db docs.
2012-09-08 16:08:01 -04:00
James Bennett
5d1f09f450
Ticket 18657: Fix inconsistent DB names in router example.
...
This rewrites the entire example to use the same DB names throughout,
and also is hopefully a bit more sensibly described. Additionally, the
missing import of the random module for choosing a read slave is
included in the example now.
2012-09-08 16:02:00 -04:00
Aymeric Augustin
e69348b4e7
Avoided mixing dates and datetimes in the examples.
...
Refs #16023 .
2012-09-08 11:00:04 -04:00
Tim Graham
dc01e41d23
Fixed #15566 - Documented that update() doesn't honor DateField.auto_now
...
Thanks Shabda Raaj for the draft patch.
2012-09-08 06:38:41 -04:00
Matt Stevens
a7d831a305
Changes day to from 2 to 30
2012-09-03 16:31:37 +01:00
Matt Stevens
813241f655
Clarifies day and month in example queryset
2012-09-03 15:20:05 +01:00
Tim Graham
141e6cd2ac
Fixed #18871 - Fixed typo in multi-db docs.
2012-08-30 06:45:11 -04:00
Carlos Palol
f200ffd701
Fixed typo in docs
2012-08-23 16:46:38 +02:00
Tim Graham
13d47c3f33
Fixed #18637 - Updated some documentation for aspects of models that are ModelForm specific, not admin specific.
...
Thanks Ben Sturmfels for the patch.
2012-08-21 17:38:16 -04:00
Claude Paroz
576ec12f8e
[py3] Replaced __nonzero__ by __bool__
...
Of course, __nonzero__ alias has been kept for Python 2 compatibility.
2012-08-08 15:02:31 +02:00
Ramiro Morales
50837434db
Clarified default name of M2M relationship DB table.
2012-07-24 22:44:28 -03:00