Tim Graham
61c8c1b6dc
[1.5.x] Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
...
Backport of 3cdeb572d7
from master
2013-07-12 06:22:29 -04:00
Christopher Medrela
80a7dd6f7f
[1.5.x] Fixed #20735 -- clarified ManyToManyField constructor doc
...
Backport of ac223ff6d1
from master
2013-07-12 06:06:26 -04:00
Johan Charpentier
83119fd582
[1.5.x] Fixed #20053 -- Fixed `index_together` documentation
...
Backport of 186bff47
from master
2013-07-11 20:24:32 -04:00
Tim Graham
fa37f45c32
[1.5.x] Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
...
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
Backport of 428de2e339
from master.
2013-07-04 08:34:00 -04:00
James Bennett
9b0604e514
[1.5.x] Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.
...
Backport of ba610cb319
from master
2013-06-21 13:16:51 -04:00
Erik Romijn
38fbc83847
[1.5.x] Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
...
Backport of 56e2f6ccae
from master
2013-05-18 11:28:39 -04:00
Wilfred Hughes
20bed77567
[1.5.x] Fixed a minor spelling mistake in the queryset documentation
...
Backport of d258cce482
from master
2013-05-14 10:32:07 -04:00
Simeon Visser
a9703edc61
[1.5.X] Fixed #20397 - Cleaned up issue with quotation marks in documentation
...
Backport of b9efc03e6d
from master
2013-05-12 20:16:31 -04:00
Tim Graham
709ee83cd3
[1.5.x] Fixed #20243 - Clarified when RelatedManager.remove() exists.
...
Backport of 712a792713
from master
2013-04-11 14:17:19 -04:00
Andrew Badr
93231851f8
[1.5.x] Removed incorrect phrase from DecimalField docs
...
Backport of 408da7b457
from master
2013-04-11 13:39:29 -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
Tim Graham
ba794f68bf
[1.5.x] Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
...
Thanks Keryn Knight.
Backport of 218bbef0c4
from master
2013-02-16 18:34:18 -05:00
Tim Graham
360676d9d8
[1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
...
Thanks sergzach for the suggestion.
Backport of 43f89e0ad6
from master
2013-01-15 07:52:06 -05:00
Claude Paroz
012229914c
[1.5.x] Created special PostgreSQL text indexes when unique is True
...
Refs #19441 .
Backport of c698c55966
from master.
2013-01-07 21:02:02 +01: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
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
1c1df12388
[1.5.X] Fixed more broken links. refs #19516
...
Backport of 9c5a6adf33
from master
2012-12-25 04:46:28 -05:00
Jason Yan
54ce0ff7ba
[1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
...
Backport of eeaab083f
from master.
2012-11-28 09:28:21 +01:00
Tim Graham
42fa51c002
[1.5.X] Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
Backport of 0e3690d230
from master
2012-11-22 16:10:42 -05:00
Tim Graham
84dc6afac7
[1.5.X] Documented behavior of get_or_create when multiple objects are returned.
...
Thanks Matt Lauber for the patch.
Backport of 71a3162a70
from master
2012-11-22 10:37:17 -05:00
Anton Danilchenko
5b6db35a74
[1.5.X] Fixed typo in docs/ref/models/querysets.txt
...
Backport of 76859e6eab
from master
2012-11-19 18:46:36 -05:00
Tim Graham
3344d8de3e
[1.5.x] Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
...
Fixed invalid ipv4 mapped ipv6 addresses in docs
Backport of 19eb56a277
from master
2012-11-09 05:49:27 -05:00
Tim Graham
f7d87b30fb
[1.5.X] Fixed #15591 - Clarified interaction between ModelForm and model validation.
...
Backport of d3fd8a1512
from master
2012-11-05 18:30:50 -05:00
Alex Gaynor
32d5f03f10
[1.5.x] Added multi-column indexes to the 1.5 release notes. Backport of 957787ace0
.
2012-11-04 15:41:58 -08:00
Alex Gaynor
4f6e9c6af2
[1.5.x] Merge pull request #493 from edavis/fix-get-foo-display-docs
...
Fixed formatting of get_FOO_display example
2012-11-04 11:18:45 -08:00
Alex Gaynor
6f716e9e5f
[1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a
.
2012-11-04 10:26:59 -08:00
Ulrich Petri
f12fa7750c
[1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change list.
...
Backport of ac2052ebc8
from master.
2012-11-03 11:59:16 +01:00
Preston Holmes
0131da0622
[1.5.x] Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:55 -07:00
Tim Graham
2f722d9728
Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion.
2012-10-20 15:22:34 -04:00
Tim Graham
db598dd8a0
Fixed #18046 - Documented than an index is created by default for ForeignKeys; thanks jbauer for the suggestion.
2012-10-18 16:58:05 -04:00
Ramiro Morales
ec1aad1671
Added section about URL reversion to URL mapper document.
2012-10-07 20:21:07 -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
Preston Holmes
ab696e3a21
Merge pull request #425 from Osmose/queryset_doc_typo
...
Fixed typo in queryset docs under update method.
2012-10-05 09:08:35 -07:00
Michael Kelly
074e65b04a
Fixed typo in queryset docs under update method.
2012-10-05 11:32:28 -04:00
Tim Graham
1c03b23567
Fixed #18413 - Noted that a model's files are not deleted when the model is deleted. Thanks lawgon for the report.
2012-10-03 17:43:23 -04:00
Anssi Kääriäinen
dad7eec6e1
Corrected links to only()/defer() in Model documentation
...
Refs #18306
2012-09-30 02:45:50 +03:00
Anssi Kääriäinen
1cd6e04cd4
Fixed #18676 -- Allow fast-path deletion of objects
...
Objects can be fast-path deleted if there are no signals, and there are
no further cascades. If fast-path is taken, the objects do not need to
be loaded into memory before deletion.
Thanks to Jeremy Dunck, Simon Charette and Alex Gaynor for reviewing
the patch.
2012-09-28 18:16:08 +03:00
Tim Graham
837425b425
Fixed #18934 - Removed versionadded/changed annotations for Django 1.3
2012-09-20 19:06:55 -04:00
Tim Graham
0fdfcee257
Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion.
2012-09-19 18:00:14 -04:00
Preston Holmes
8d75b1176f
Clearer wording for defer docs
2012-09-15 14:24:01 -07:00
Tim Graham
3bdb65dc59
Updated print statements to work with py3; thanks Claude Paroz noting this.
2012-09-08 15:15:10 -04:00
Tim Graham
6e2bb344e4
Fixed #18478 - Documented how to use a mutable default in a model field.
2012-09-08 14:52:17 -04:00
Tim Graham
d823bb790d
Fixed #17156 -- Added documentation examples for exists()
...
Thanks mrmagooey for the draft patch.
2012-09-08 11:19:49 -04:00
Aymeric Augustin
e69348b4e7
Avoided mixing dates and datetimes in the examples.
...
Refs #16023 .
2012-09-08 11:00:04 -04:00
Dan Loewenherz
09e3d364b9
specify any orderable field can be specified in get_latest_by, closes #18875
2012-09-07 11:34:18 -04:00
Tim Graham
e5983af7c1
Fixed #18904 - Typo in MySQL link; thanks Johie Anderson for the report.
2012-09-05 17:50:17 -04:00
Alex Gaynor
17d57275f9
Fixed #18883 -- added a missing self parameter in the docs
2012-08-30 19:19:11 -07:00
Claude Paroz
ebc773ada3
Replaced many smart_bytes by force_bytes
...
In all those occurrences, we didn't care about preserving the
lazy status of the strings, but we really wanted to obtain a
real bytestring.
2012-08-29 11:20:32 +02:00
Ramiro Morales
c73f2bd65c
Fixed typo in model fields reference docs.
2012-08-26 00:24:32 -03: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