summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2014-10-18[1.6.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to ↵Jon Dufresne
max length Backport of c1b9f99a81 from master
2014-10-01[1.6.x] Added flat=False to signature of QuerySet.values_list()jnothman
Backport of 20f868bc5a from master
2014-08-29[1.6.x] Corrected a usage example of `related_query_name`.Simon Charette
Thanks to Petr Glotov for spotting this. Backport of 05a8cef428 from master
2014-08-19[1.6.x] Fixed #17272 -- Documented that non-editable fields are skipped ↵Tim Graham
during model validation. Thanks mitar for the report. Backport of c587bd5a94 from master
2014-08-19[1.6.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being ↵Tim Graham
escaped. Backport of 5dbe2a9431 from master
2014-08-02[1.6.x] Updated MySQL links to version 5.6.Tim Graham
Backport of fb4f3e04b1 from master
2014-07-28[1.6.x] Fixed #22491 -- documented how select_for_update() should be tested.Moayad Mardini
Thanks Andreas Pelme for the report. Backport of 668d432d0a from master
2014-07-26[1.6.x] Fixed #22553 -- Added refreshing queryset info to docs.David Hoffman
Backport of 6d5daa30cf from master
2014-06-18[1.6.x] Fixed #14481 -- Documented implicit "through" class created by ↵Jorge C. Leitão
ManyToManyField. Thanks to jonathanmorgan for the report and initial patch. Backport of de90129070 from master
2014-06-12[1.6.x] Fixed #22813 -- Updated Pillow URL in documentationClaude Paroz
Backport of dfa3505ff1 from master.
2014-06-04[1.6.x] Fixed #22710 -- Amended aggregation note for empty QuerySetsGuillaume Pannatier
Thanks smeaton for report and Joël Rochat for spell check Backport of 7f27cca5c5 from master
2014-05-30[1.6.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.Guillaume Pannatier
Thanks matklad for the report. Backport of 7c6e96ec1f from master
2014-04-25[1.6.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL ↵Moayad Mardini
injection Thanks Erik Romijn for the suggestion. Backport of 3776926cfe503f16c7195621da20c5b89bda70a2 from master
2014-04-21[1.6.x] Fixed queries that may return unexpected results on MySQL due to ↵Erik Romijn
typecasting. This is a security fix. Disclosure will follow shortly. Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-18[1.6.x] Fixed #22473 -- Emphasized that Model.clean() is not called from ↵Tim Graham
Model.save(). Backport of b43bbd6d39 from master
2014-04-10[1.6.x] Documentation fixes for the select_for_update change.Shai Berger
Refs #22343; thanks Tim Graham for the fixes.
2014-04-10[1.6.x] Fixed #22343 -- Disallowed select_for_update in autocommit modeShai Berger
The ticket was originally about two failing tests, which are fixed by putting their queries in transactions. Thanks Tim Graham for the report, Aymeric Augustin for the fix, and Simon Charette, Tim Graham & Loïc Bistuer for review. Backport of b990df1d63 from master
2014-03-24[1.6.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one ↵Adam Kaliński
relationships. Thanks EvilDMP for the suggestion. Backport of ec08d62a20 from master
2014-03-21[1.6.x] Replaced an instance of PIL with Pillow in the docs.Tim Graham
Backport of 563d6a6bba from stable/1.7.x
2014-02-25[1.6.x] Fixed #22145 -- Clarified docs on Field.blank and Field.null options.navneet suman
Thanks skipjack at peru.com for the suggestion. Backport of 3390550f6f from master
2014-01-23[1.6.x] Fixed some punctuation; thanks Chris Jerdonek.Tim Graham
Backport of 81830ce34f from master
2014-01-16[1.6.x] Fixed #18285 -- Documented that bulk_create doesn't work with M2M ↵Tim Graham
relationships. Backport of 9173d2cb74 from master
2013-12-18[1.6.x] Fixed #21632 -- Docs: Removed example with callable as query parameterKevin Christopher Henry
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-15[1.6.x] Fixed typo in docs/ref/models/fields.txtTim Graham
Backport of dfc95d240d from master.
2013-11-25[1.6.x] Fixed #21507 -- Corrected default widget information for FileFieldLudwik Trammer
Backport of 70e61310d6 from master
2013-11-21[1.6.x] Fixed #21427 -- Clearly state integer field value ranges in docsMarkus Amalthea Magnuson
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 b6a6cf4ab791b092e18ab16537aa88dd7ae9bc36 from master.
2013-11-18[1.6.x] Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">‘" in the generated HTML. Backport of c33d1ca1d98003de29cdecb6080b52c5c52139bd from master.
2013-10-23Fixed #13245: Explained Oracle's behavior w.r.t db_tableShai Berger
and how to prevent table-name truncation Thanks russellm & timo for discussion, and timo for review. Backported from master 317040a73b77be8f8210801793b2ce6d1a69301e
2013-10-18[1.6.x] Fixed #21212 -- Documented the reverse name for OneToOneField.Juergen Schackmann
Thanks bjb at credil.org for the report. Backport of f8632572ad from master
2013-10-02[1.6.x] Fixed #10913 -- Documented how related_name affects QuerySet filteringTim Graham
Thanks neithere for the suggestion. Backport of 75bb6ba966 from master
2013-09-21[1.6.x] Correct very minor typomlissner
Just changed as to has. Backport of d8f2d940cc from master
2013-09-13[1.6.x] Fixed #21095 -- Documented new requirement for dates lookups.Matt Austin
Day, month, and week_day lookups now require time zone definitions in the database. Backport of 9451d8d from master.
2013-09-09[1.6.x] Fixed spelling; refs #16895.Tim Graham
Thanks Panagiotis Issaris for the report. Backport of fb51c9a0f2 from master
2013-09-09[1.6.x] Fixed #16895 -- Warned about cost of QuerySet orderinge0ne
Thanks outofculture at gmail.com for the suggestion. Backport of cbf08c6b0c from master
2013-09-07Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.Aymeric Augustin
2013-09-05[1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'. Backport of 4d13cc56de from master
2013-08-30[1.6.x] Fixed typo in docs/ref/models/options.txtTim Graham
Backport of a89c856a7a from master
2013-08-30[1.6.x] Fixed #20988 -- Added model meta option select_on_saveAnssi Kääriäinen
The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649 Backport of e973ee6a9879969b8ae05bb7ff681172cc5386a5 from master Conflicts: django/db/models/options.py tests/basic/tests.py
2013-08-21[1.6.x] Documentation -- Corrected error about Model.full_clean()Kevin Christopher Henry
Although the ModelForm validation code was changed to call Model.full_clean(), the documentation still said otherwise. The offending phrase was removed. Backport of bb011cf809 from master
2013-08-20[1.6.x] Documentation - Noted that OneToOneField doesn't respect unique.Kevin Christopher Henry
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-08[1.6.x] Added note to GenericIPAddressField documentationChristopher Medrela
refs #20484 Backport of fb26c4996a from master
2013-08-05[1.6.x] Fixed #20859 - Clarified Model.clean() example.Jimmy Song
Backport of 94d7fed775 from master
2013-08-04[1.6.x] Fixed #20842 and #20845 - Added a note on order_by() and improved ↵Daniele Procida
prefetch_related() docs. Backport of e8183a8193 from master
2013-08-01[1.6.x] Removed unused model option "admin"Tim Graham
Backport of 5df84b268d from master
2013-07-12[1.6.x] Fixed #17528 -- Documented that add() and remove() with a ↵Tim Graham
many-to-many relationship do not call Model.save() Backport of 3cdeb572d7 from master
2013-07-12[1.6.x] Fixed #20735 -- clarified ManyToManyField constructor docChristopher Medrela
Backport of ac223ff6d1 from master
2013-07-05[1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review. Backport of 7442eb1a24 from master.
2013-07-05[1.6.x] Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only ↵Tim Graham
supported by Postgres. Thanks jtiai for the suggestion. Backport of 577b0f9189 from master.
2013-07-04[1.6.x] Fixed #12579 -- Noted QuerySet.get_or_create() depends on database ↵Tim Graham
unique constraints. Thanks timmolendijk, jdunck, vijay_shanker, and loic84. Backport of 428de2e339 from master.
2013-06-27Docs for related_query_nameAndrew Godwin