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
Aymeric Augustin
c13a98968e
Fixed a misplaced Sphinx reference.
2012-07-14 12:32:39 +02:00
Tim Graham
5d81ad1af1
Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias.
...
Thanks codeinthehole for the draft patch.
2012-06-30 10:25:51 -04:00
Claude Paroz
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
...
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
2012-06-07 18:08:47 +02:00
Aymeric Augustin
c28e700c7e
Removed references to changes made in 1.2.
...
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Jacob Kaplan-Moss
7edf231d46
Replaced documentation snippets using "gender" with less sensitive examples.
2012-06-06 13:52:53 +02:00
Ramiro Morales
e9a56606e7
Fixed broken URLs introduced in 1adc87cd32
.
2012-05-03 12:42:56 -03:00
Ramiro Morales
1adc87cd32
Updated some URLs in the documentation to point to the new repository.
2012-05-03 11:53:17 -03:00
Claude Paroz
596cb9c7e2
Replaced print statement by print function (forward compatibility syntax).
2012-04-30 20:45:03 +02:00
Ramiro Morales
83fc965171
Added documentation notes about lack of database savepoints support when using MySQL+MyISAM.
...
Refs #15507 , #18116 and r17341, r17921.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-21 22:52:03 +00:00
Claude Paroz
157f823819
Fixed #18024 -- Reworded sentence in models documentation. Thanks Preston Holmes for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-15 21:25:23 +00:00
Claude Paroz
723445f40e
Fixed #16233 -- Added link to multiple databases docs from custom sql alias section. Thanks charlax for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-06 09:17:37 +00:00
Claude Paroz
23d3459761
Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 08:24:29 +00:00
Claude Paroz
27322df995
Fixed #17999 -- Restored the links to examples from models documentation. Refs #17605 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30 17:59:12 +00:00