Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #19605 - Removed unused url imports from doc examples.Tim Graham2013-01-151-1/+1
| | | | Thanks sergzach for the suggestion.
* Fixed #19360 -- Raised an explicit exception for ↵Nick Sandford2013-01-111-0/+8
| | | | | | | aggregates on date/time fields in sqlite3 Thanks lsaffre for the report and Chris Medrela for the initial patch.
* Created special PostgreSQL text indexes when unique is TrueClaude Paroz2013-01-071-0/+3
| | | | Refs #19441.
* Fixed #19173 -- Made EmptyQuerySet a marker class onlyAnssi Kääriäinen2013-01-061-4/+6
| | | | | | | The guarantee that no queries will be made when accessing results is done by new EmptyWhere class which is used for query.where and having. Thanks to Simon Charette for reviewing and valuable suggestions.
* Fixed #19516 - Fixed remaining broken links.Tim Graham2013-01-032-36/+59
| | | | Added -n to sphinx builds to catch issues going forward.
* Removed versionadded/changed annotations dating back to 1.4.Aymeric Augustin2012-12-293-22/+6
|
* Removed django.contrib.localflavor.Aymeric Augustin2012-12-291-2/+2
| | | | Each localflavor lives on as a separate app.
* Fixed broken links, round 3. refs #19516Tim Graham2012-12-273-11/+10
|
* Fixed more broken links. refs #19516Tim Graham2012-12-253-5/+5
|
* Fixed #19374 -- Typo in docs/ref/models/instances.txt.Jason Yan2012-11-281-1/+1
|
* Fixed #18974 - Warned against using models.permalinkTim Graham2012-11-221-9/+21
| | | | Thanks dstufft for the draft patch.
* Documented behavior of get_or_create when multiple ↵Tim Graham2012-11-221-4/+6
| | | | | | objects are returned. Thanks Matt Lauber for the patch.
* Update docs/ref/models/querysets.txtAnton Danilchenko2012-11-181-1/+1
| | | Fix typo: replace "can can" to "can"
* Fixed invalid ipv4 mapped ipv6 addresses in docsDanilo Bargen2012-11-071-1/+1
|
* Fixed #15591 - Clarified interaction between ModelForm ↵Tim Graham2012-11-061-7/+10
| | | | and model validation.
* Added multi-column indexes to the 1.5 release notes.Alex Gaynor2012-11-051-2/+2
|
* Fixed formatting of get_FOO_display exampleEric Davis2012-11-041-19/+19
|
* Fixed #5805 -- it is now possible to specify ↵Alex Gaynor2012-11-041-0/+15
| | | | multi-column indexes. Thanks to jgelens for the original patch.
* Fixed #17549 -- Added a clickable link for URLFields in ↵Ulrich Petri2012-11-031-0/+5
| | | | admin change list.
* Deprecated depth kwarg on select_related.Preston Holmes2012-11-031-14/+16
| | | | | | | | | | 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
* Fixed #13869 - Warned that QuerySet.iterator() doesn't ↵Tim Graham2012-10-201-0/+10
| | | | affect DB driver caching; thanks jtiai for the suggestion.
* Fixed #18046 - Documented than an index is created by ↵Tim Graham2012-10-181-0/+6
| | | | default for ForeignKeys; thanks jbauer for the suggestion.
* Added section about URL reversion to URL mapper document.Ramiro Morales2012-10-081-3/+9
|
* Fixed #17435 - Clarified that QuerySet.update returns ↵Tim Graham2012-10-061-1/+2
| | | | the number of rows matched
* Merge pull request #425 from Osmose/queryset_doc_typoPreston Holmes2012-10-051-1/+1
|\ | | | | Fixed typo in queryset docs under update method.
| * Fixed typo in queryset docs under update method.Michael Kelly2012-10-051-1/+1
| |
* | Fixed #18413 - Noted that a model's files are not ↵Tim Graham2012-10-031-0/+5
| | | | | | | | deleted when the model is deleted. Thanks lawgon for the report.
* | Corrected links to only()/defer() in Model documentationAnssi Kääriäinen2012-09-301-4/+5
| | | | | | | | Refs #18306
* | Fixed #18676 -- Allow fast-path deletion of objectsAnssi Kääriäinen2012-09-281-0/+15
| | | | | | | | | | | | | | | | | | 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.
* | Fixed #18934 - Removed versionadded/changed annotations ↵Tim Graham2012-09-212-15/+5
| | | | | | | | for Django 1.3
* | Fixed #15325 - Added a link to RelatedManager in the ↵Tim Graham2012-09-201-0/+3
| | | | | | | | ManytoManyField docs; thanks jammon for the suggestion.
* | Clearer wording for defer docsPreston Holmes2012-09-151-1/+1
| |
* | Updated print statements to work with py3; thanks Claude ↵Tim Graham2012-09-081-5/+5
| | | | | | | | Paroz noting this.
* | Fixed #18478 - Documented how to use a mutable default ↵Tim Graham2012-09-081-0/+8
| | | | | | | | in a model field.
* | Fixed #17156 -- Added documentation examples for exists()Tim Graham2012-09-081-5/+39
| | | | | | | | Thanks mrmagooey for the draft patch.
* | Avoided mixing dates and datetimes in the examples.Aymeric Augustin2012-09-083-4/+15
| | | | | | | | Refs #16023.
* | specify any orderable field can be specified in ↵Dan Loewenherz2012-09-071-3/+4
| | | | | | | | get_latest_by, closes #18875
* | Fixed #18904 - Typo in MySQL link; thanks Johie Anderson ↵Tim Graham2012-09-051-2/+1
| | | | | | | | for the report.
* | Fixed #18883 -- added a missing self parameter in the docsAlex Gaynor2012-08-311-1/+1
| |
* | Replaced many smart_bytes by force_bytesClaude Paroz2012-08-291-2/+2
| | | | | | | | | | | | 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.
* | Fixed typo in model fields reference docs.Ramiro Morales2012-08-261-1/+1
| |
* | Fixed #18637 - Updated some documentation for aspects of ↵Tim Graham2012-08-211-45/+45
| | | | | | | | | | | | models that are ModelForm specific, not admin specific. Thanks Ben Sturmfels for the patch.
* | Fixed #18306 -- Made deferred models issue update_fields ↵Andrei Antoukh2012-08-122-0/+22
| | | | | | | | | | | | | | | | on save Deferred models now automatically update only the fields which are loaded from the db (with .only() or .defer()). In addition, any field set manually after the load is updated on save.
* | Fix #18062: Document best practices for choices in model ↵James Bennett2012-08-081-25/+26
|/ | | | fields.
* [py3] Ported django.utils.encoding.Aymeric Augustin2012-08-071-2/+2
| | | | | | | | | | | * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str.
* Fixed #15932 - Documented how to supress multiple ↵Tim Graham2012-08-031-3/+11
| | | | | | reverse relations to the same model. Thanks Claude Paroz for the patch.
* Clarified default name of M2M relationship DB table.Ramiro Morales2012-07-251-11/+11
|
* Fixed #17788 -- Added batch_size argument to ↵Anssi Kääriäinen2012-07-171-14/+6
| | | | | | | | | | | qs.bulk_create() The qs.bulk_create() method did not work with large batches together with SQLite3. This commit adds a way to split the bulk into smaller batches. The default batch size is unlimited except for SQLite3 where the batch size is limited to 999 SQL parameters per batch. Thanks to everybody who participated in the discussions at Trac.
* Removed Django 1.0-specific sections.Aymeric Augustin2012-07-071-16/+0
|
* Fixed #17436 - Added warning about overriding ↵Tim Graham2012-07-021-1/+35
| | | | | | Model.__init__() Thanks zsiciarz for the draft patch.