Adam Kaliński
38096da5c0
[1.6.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20
from master
2014-03-24 09:45:56 -04:00
Tim Graham
0726482c9d
[1.6.x] Replaced an instance of PIL with Pillow in the docs.
...
Backport of 563d6a6bba
from stable/1.7.x
2014-03-21 11:25:18 -04:00
navneet suman
f2b513c9e8
[1.6.x] Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
...
Thanks skipjack at peru.com for the suggestion.
Backport of 3390550f6f
from master
2014-02-25 21:01:02 -05:00
Kevin Christopher Henry
dd7e2925dd
[1.6.x] Fixed #21632 -- Docs: Removed example with callable as query parameter
...
Using callables as query parameters is undocumented and not working,
so this changes an example from the ForeignKey.limit_choices_to
documentation that uses it.
Backport of d34c8c338a
from master
2013-12-18 12:37:56 -05:00
Tim Graham
6a36b71fc2
[1.6.x] Fixed typo in docs/ref/models/fields.txt
...
Backport of dfc95d240d
from master.
2013-12-15 10:51:58 -05:00
Ludwik Trammer
593ec42ad1
[1.6.x] Fixed #21507 -- Corrected default widget information for FileField
...
Backport of 70e61310d6
from master
2013-11-25 08:27:27 -05:00
Markus Amalthea Magnuson
47abfa237e
[1.6.x] Fixed #21427 -- Clearly state integer field value ranges in docs
...
Added an explicit mention of the exact value ranges for integer type
fields that are safe in all databases supported by Django. Also, put
all value numbers inside double ticks.
Backport of b6a6cf4ab7
from master.
2013-11-21 14:17:58 +01:00
Juergen Schackmann
f198abc7e4
[1.6.x] Fixed #21212 -- Documented the reverse name for OneToOneField.
...
Thanks bjb at credil.org for the report.
Backport of f8632572ad
from master
2013-10-18 16:22:41 -04:00
Tim Graham
06b149e220
[1.6.x] Fixed #10913 -- Documented how related_name affects QuerySet filtering
...
Thanks neithere for the suggestion.
Backport of 75bb6ba966
from master
2013-10-02 12:13:44 -04:00
Aymeric Augustin
01edcf70f2
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
2013-09-07 14:09:52 -05:00
Eric Boersma
180b9955cc
[1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
Backport of 4d13cc56de
from master
2013-09-05 20:16:14 -04:00
Kevin Christopher Henry
e7d4d41a30
[1.6.x] Documentation - Noted that OneToOneField doesn't respect unique.
...
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:20:55 -07:00
Christopher Medrela
6264e39c34
[1.6.x] Added note to GenericIPAddressField documentation
...
refs #20484
Backport of fb26c4996a
from master
2013-08-08 05:17:54 -04:00
Christopher Medrela
9bb04b1a6b
[1.6.x] Fixed #20735 -- clarified ManyToManyField constructor doc
...
Backport of ac223ff6d1
from master
2013-07-12 06:06:17 -04:00
Andrew Godwin
12cb0df10f
Docs for related_query_name
2013-06-27 15:44:22 +01:00
Tim Graham
d321d1acf0
Fixed #20228 - Documented unique_for_date and exclude behavior.
...
Thanks Deepak Thukral for the patch.
2013-05-28 10:04:07 -04:00
Baptiste Mispelon
08726cb013
Fix #20505 : Typo in BinaryField documentation.
2013-05-27 11:35:34 +02:00
Marc Tamlyn
33c361ef9d
Merge pull request #1129 from frog32/master
...
Add needed Imports to the Documentation
2013-05-19 01:37:25 -07: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
Donald Stufft
398841d6d3
Merge branch 'allow-any-iterable-for-choices'
2013-05-18 11:31:16 -04:00
Erik Romijn
56e2f6ccae
Fixed #20446 -- Documentation for SmallIntegerField does not clarify 'small'
2013-05-18 17:16:07 +02:00
Donald Stufft
a19e9d80ff
Fixed #20430 - Enable iterable of iterables for model choices
...
Allows for any iterable, not just lists or tuples, to be used as
the inner item for a list of choices in a model.
2013-05-18 11:14:05 -04:00
Aaron Cannon
291250f7b6
Added clarification to the docs, pointing out that unique_for_date only considers the date portion of DateTime fields.
2013-05-03 08:46:53 -05:00
Juan Catalano
78c842a323
Adapted uses of versionchanged/versionadded to the new form.
...
Refs #20104 .
2013-04-20 17:18:35 +02:00
Andrew Badr
408da7b457
remove confusing phrase from DecimalField docs
...
The phrase "if it exists" was used in reference to the `decimal_places`
argument to `DecimalField`, when in fact that field is required.
2013-04-11 16:27:14 +03:00
Aymeric Augustin
e16c48e001
Fixed #15124 -- Changed the default for BooleanField.
...
Thanks to the many contributors who updated and improved the patch over
the life of this ticket.
2013-03-24 13:47:01 +01:00
Tim Graham
93cffc3b37
Added missing markup to docs.
2013-03-22 13:50:07 -04:00
Ramiro Morales
7e26f4cb79
Fixed broken link in binary fields doc.
2013-03-11 22:09:21 -03:00
Jonathan Loy
b3c6a20e71
Fixed #20018 : Added backtick to fix reference
...
Fixed #20018
2013-03-10 14:09:33 -04:00
Alex Gaynor
1b81f328f4
Adde two "versionadded" markers, thanks to mYk for noticing.
2013-03-07 12:05:06 -08:00
Alex Gaynor
bbbd698c7a
Added a ManyToManyField(db_constraint=False) option, this allows not creating constraints on the intermediary models.
2013-03-07 11:24:51 -08:00
Claude Paroz
8ee1eddb7e
Add a BinaryField model field
...
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
2013-03-02 10:29:02 +01:00
Alex Gaynor
4e36e0a8b3
Clarified the language used in the documentation. Thanks to Mike Smith for the report.
2013-02-20 13:09:40 -08:00
Alex Gaynor
b55cde054e
Added a db_constraint option to ForeignKeys.
...
This controls whether or not a database level cosntraint is created. This is useful in a few specialized circumstances, but in general should not be used!
2013-02-20 11:27:32 -08:00
Tim Graham
218bbef0c4
Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
...
Thanks Keryn Knight.
2013-02-16 18:31:54 -05:00
Claude Paroz
c698c55966
Created special PostgreSQL text indexes when unique is True
...
Refs #19441 .
2013-01-07 17:54:30 +01:00
Tim Graham
9b5f64cc6e
Fixed #19516 - Fixed remaining broken links.
...
Added -n to sphinx builds to catch issues going forward.
2013-01-02 18:32:57 -05:00
Aymeric Augustin
7ee7599ab3
Removed versionadded/changed annotations dating back to 1.4.
2012-12-29 21:59:08 +01:00
Aymeric Augustin
f27a4ee327
Removed django.contrib.localflavor.
...
Each localflavor lives on as a separate app.
2012-12-29 21:59:06 +01:00
Tim Graham
b3a8c9dab8
Fixed broken links, round 3. refs #19516
2012-12-26 19:07:22 -05:00
Tim Graham
9c5a6adf33
Fixed more broken links. refs #19516
2012-12-25 04:44:09 -05:00
Danilo Bargen
b0c72d0a30
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-07 17:13:06 +01:00
Ulrich Petri
ac2052ebc8
Fixed #17549 -- Added a clickable link for URLFields in admin change list.
2012-11-03 11:57:33 +01: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
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
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
Tim Graham
6e2bb344e4
Fixed #18478 - Documented how to use a mutable default in a model field.
2012-09-08 14:52:17 -04:00
Aymeric Augustin
e69348b4e7
Avoided mixing dates and datetimes in the examples.
...
Refs #16023 .
2012-09-08 11:00:04 -04:00
Ramiro Morales
c73f2bd65c
Fixed typo in model fields reference docs.
2012-08-26 00:24:32 -03:00