summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2013-02-16[1.5.x] Fixed #19824 - Corrected the class described for Field.primary_key ↵Tim Graham
from IntegerField to AutoField. Thanks Keryn Knight. Backport of 218bbef0c4 from master
2013-01-07[1.5.x] Created special PostgreSQL text indexes when unique is TrueClaude Paroz
Refs #19441. Backport of c698c55966 from master.
2013-01-02[1.5.x] Fixed #19516 - Fixed remaining broken links.Tim Graham
Added -n to sphinx builds to catch issues going forward. Backport of 9b5f64cc6e from master.
2012-12-26[1.5.X] Fixed broken links, round 3. refs #19516Tim Graham
Backport of b3a8c9dab8 from master
2012-12-25[1.5.X] Fixed more broken links. refs #19516Tim Graham
Backport of 9c5a6adf33 from master
2012-11-09[1.5.x] Merge pull request #506 from gwrtheyrn/ipv6_doc_fixTim Graham
Fixed invalid ipv4 mapped ipv6 addresses in docs Backport of 19eb56a277291de8c25a0edcc7af111dac7518af from master
2012-11-03[1.5.X] Fixed #17549 -- Added a clickable link for URLFields in admin change ↵Ulrich Petri
list. Backport of ac2052ebc84c45709ab5f0f25e685bf656ce79bc from master.
2012-10-18Fixed #18046 - Documented than an index is created by default for ↵Tim Graham
ForeignKeys; thanks jbauer for the suggestion.
2012-10-03Fixed #18413 - Noted that a model's files are not deleted when the model is ↵Tim Graham
deleted. Thanks lawgon for the report.
2012-09-20Fixed #18934 - Removed versionadded/changed annotations for Django 1.3Tim Graham
2012-09-19Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; ↵Tim Graham
thanks jammon for the suggestion.
2012-09-08Fixed #18478 - Documented how to use a mutable default in a model field.Tim Graham
2012-09-08Avoided mixing dates and datetimes in the examples.Aymeric Augustin
Refs #16023.
2012-08-26Fixed typo in model fields reference docs.Ramiro Morales
2012-08-21Fixed #18637 - Updated some documentation for aspects of models that are ↵Tim Graham
ModelForm specific, not admin specific. Thanks Ben Sturmfels for the patch.
2012-08-08Fix #18062: Document best practices for choices in model fields.James Bennett
2012-08-03Fixed #15932 - Documented how to supress multiple reverse relations to the ↵Tim Graham
same model. Thanks Claude Paroz for the patch.
2012-07-24Clarified default name of M2M relationship DB table.Ramiro Morales
2012-06-07Removed references to changes made in 1.2.Aymeric Augustin
Thanks Florian Apolloner for the patch.
2012-06-06Replaced documentation snippets using "gender" with less sensitive examples.Jacob Kaplan-Moss
2012-06-06Added alt attribute to img tags in docs.Aymeric Augustin
This is a good practice for accessibility. Thanks Jessica McKellar for the report.
2012-04-29Prevent Oracle from changing field.null to TrueAnssi Kääriäinen
Fixed #17957 -- when using Oracle and character fields, the fields were set null = True to ease the handling of empty strings. This caused problems when using multiple databases from different vendors, or when the character field happened to be also a primary key. The handling was changed so that NOT NULL is not emitted on Oracle even if field.null = False, and field.null is not touched otherwise. Thanks to bhuztez for the report, ramiro for triaging & comments, ikelly for the patch and alex for reviewing.
2012-04-22Fixed #5893 -- Added a flag to FilePathField to allow listing folders, in ↵Alex Gaynor
addition to regular files. Thank you to Brian Rosner, for encouraging me to first contribute to Django 4 years ago. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed deprecated URLField.verify_exists.Aymeric Augustin
The deprecation schedule was slightly accelerated because of possible security ramifications. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-29Fixed #17870 -- Documented that EmailField default max_length of 75 does not ↵Claude Paroz
comply with RFCs 3696/5321. Thanks Rotund for the report and the patch and Russell Keith-Magee for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17Fixed #17926 -- Removed mention of XMLField in docs (missing deletion from ↵Claude Paroz
r15982). Thanks aburgel for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-20Fixed a typo in the model fields reference.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-19Fix #15646: Document that a FileField's full path can't be relied upon until ↵Karen Tracey
its model has been saved to the database. Thanks poirier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-12Fix #16570: Restore ability to have decimal fields where max_digits equals ↵Karen Tracey
decimal_places. Thanks dcwatson and kenth. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-30Fixed #17063 -- Fixed visibility of a few version-dependant notes in our ↵Ramiro Morales
documentation. Thanks jifeng.yin AT gmail DOT com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14Fixed #12308 -- Added tablespace support to the PostgreSQL backend.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14Fixed many more ReST indentation errors, somehow accidentally missed from ↵Luke Plant
[16955] git-svn-id: http://code.djangoproject.com/svn/django/trunk@16983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Fixed #7609 -- Noted in the model fields reference documentation that ↵Julien Phalip
`PositiveIntegerField` accepts the value 0 for backwards-compatibility reasons. Thanks to everyone involved in the resolution of this issue, including Paul Collins for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10Corrected documentation inconsistencies regarding deprecation of ↵Carl Meyer
URLField.verify_exists. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10Altered the behavior of URLField to avoid a potential DOS vector, and to ↵Russell Keith-Magee
avoid potential leakage of local filesystem data. A security announcement will be made shortly. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-04Converted links to external topics so they use intersphinx extension markup.Ramiro Morales
This allows to make these links more resilent to changes in the target URLs. Thanks Jannis for the report and Aymeric Augustin for the patch. Fixes #16586. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-29Fixed #16498 -- Fixed typo in GenericIPAddressField docs. Thanks, JshWright.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-06Improved warning about file uploads in docs, and added link from security ↵Luke Plant
overview page git-svn-id: http://code.djangoproject.com/svn/django/trunk@16521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks ↵Jannis Leidel
to Erik Romijn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09Fixed #8913 - Make "must be unique" error messages customisable. Thanks to ↵Andrew Godwin
Leah Culver. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10Fixes #15963 -- Misleading FileField.save documentation. Thanks for the ↵Chris Beaven
report and patch, ejucovy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-07Fixed #15941 -- Fixed DateField docs to no longer state that the admin ↵Jannis Leidel
calendar's week always starts on Sunday (refs FIRST_DAY_OF_WEEK setting). Thanks aaugustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06Fixes #10786 -- Document that NullBooleanField should be used rather than ↵Chris Beaven
BooleanField with null=True. Thanks sbj3 for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01Changed e-mail to email throughout documentation and codebase. The one ↵Adrian Holovaty
exception is translation strings, which I didn't want to disrupt git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Fixed #3094 -- Accelerated deprecation of XMLField, since it hasn't served ↵Russell Keith-Magee
any useful purpose since oldforms. Thanks to PaulM for driving the issue and providing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-20Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai ↵Carl Meyer
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-11Fixed #15045 - Typo auto_add_now -> auto_now_add; thanks dr_gone for the report.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #14959 - Add a link to localflavor in the model field docs. Thanks ↵Timo Graham
PaulM for the suggestion, elbarto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #7726 -- Added validation of max_digits and decimal_places options to ↵Ramiro Morales
DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #14403 -- Provided some extra resources on the difference between ↵Gabriel Hurley
FloatField and DecimalField in the model field reference. Thanks to typeshige for the report and trebor74hr and dmedvinsky for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15090 bcc190cf-cafb-0310-a4f2-bffc1f526a37