summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2014-08-29[1.7.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.7.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.7.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being ↵Tim Graham
escaped. Backport of 5dbe2a9431 from master
2014-08-02[1.7.x] Updated MySQL links to version 5.6.Tim Graham
Backport of fb4f3e04b1 from master
2014-07-30[1.7.x] Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.Tim Graham
Thanks Josh Kupershmidt. Backport of 66630f589c from master
2014-07-28[1.7.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.7.x] Fixed #22553 -- Added refreshing queryset info to docs.David Hoffman
Backport of 6d5daa30cf from master
2014-07-24[1.7.x] Fixed #23094 -- Removed redundant argument in select_related() example.Tim Graham
Thanks thegeekofalltrades at gmail.com for the report. Backport of 5f919b9c81 from master
2014-07-10[1.7.x] Fixed #22809 -- Added model Field API reference.Jorge C. Leitão
Thanks to @timgraham for the review. Backport of e1fa7dffdc from master
2014-07-09[1.7.x] Fixed #22351 -- Removed usage of lambdas in model field options.Tim Graham
Thanks claudep for review. Backport of 5ebf03b7dd from master
2014-07-08[1.7.x] Fixed #22812 -- Refactored lookup API documentation.Jorge C. Leitão
Thanks Anssi and Tim for reviews. Backport of 8780849da0 from master
2014-06-18[1.7.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-17[1.7.x] Fixed #22819 -- Renamed output_type -> output_field in query ↵Tim Graham
expression API. Thanks jorgecarleitao for the suggestion. Backport of 95cc0e15b4 from master
2014-06-15[1.7.x] Fixed #22660: Doc'd you can't have unmigrated apps depend on migratedAndrew Godwin
2014-06-12[1.7.x] Fixed #22813 -- Updated Pillow URL in documentationClaude Paroz
Backport of dfa3505ff1 from master.
2014-06-04[1.7.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.7.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.Guillaume Pannatier
Thanks matklad for the report. Backport of 7c6e96ec1f from master
2014-05-25[1.7.x] Fixed typo in docs/ref/models/custom-lookups.txt.Matthew Schinckel
Backport of 2b432d4634 from master
2014-05-15[1.7.x] Fixed typo that disabled code example highlightingÉric Araujo
Backport of 5ab95168cc from master
2014-04-30[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation `_id` field.Simon Charette
Thanks to chrisedgemon for the report and shaib, akaariai and timgraham for the review. Backport of 24ec9538b7 from master
2014-04-30[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with ↵Mike Fogel
choices. Backport of 7fd1b35ed7 from master
2014-04-25[1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL ↵Moayad Mardini
injection Thanks Erik Romijn for the suggestion. Backport of 3776926cfe from master
2014-04-21[1.7.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.7.x] Fixed #22473 -- Emphasized that Model.clean() is not called from ↵Tim Graham
Model.save(). Backport of b43bbd6d39 from master
2014-04-10[1.7.x] Documentation fixes for the select_for_update change.Shai Berger
Refs #22343; thanks Tim Graham for the fixes. Backport of 59b1d30 from master
2014-04-10[1.7.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-04-08[1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.Anubhav Joshi
Backport of 36de29200e1ea713c278f7672ab1790e1500c423 from master.
2014-03-24[1.7.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.7.x] Replaced an instance of PIL with Pillow in the docs.Tim Graham
Done in 4965a774074780f3e4858bcc975476f71edf2c2c on master.
2014-03-21[1.7.x] Fixed minor syntax error in Queryset docsBryan Helmig
Backport of f2eea960e052db2d280e6dd016b0f8f23d5a8ef7 from master.
2014-03-11Fixed #22217 - ManyToManyField.through_fields fixes.Akis Kesoglou
- Docs description of arguments mix up. - Keep it from erroneously masking E332 check. - Add checks E338 and E339, tweak message of E337.
2014-03-07Fixed #21863 -- supplemented get_lookup() with get_transform()Anssi Kääriäinen
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-05Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlengthChris Wilson
2014-03-03Allowed custom querysets when prefetching single valued relationsLoic Bistuer
The original patch for custom prefetches didn't allow usage of custom queryset for single valued relations (along ForeignKey or OneToOneKey). Allowing these enables calling performance oriented queryset methods like select_related or defer/only. Thanks @akaariai and @timgraham for the reviews. Refs #17001.
2014-03-01Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵Anubhav Joshi
of lists).. Thanks EmilStenstrom for the suggestion.
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed #22145 -- Clarified docs on Field.blank and Field.null options.navneet suman
Thanks skipjack at peru.com for the suggestion.
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-17Fixed #22023 -- Raised an error for values() followed by defer() or only().Artur Frysiak
Previously, doing so resulted in invalid data or crash. Thanks jtiai for the report and Karol Jochelson, Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-15Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup typechomik
Thanks to cjerdonek for the suggestion.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-11Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.Christopher Adams
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now be a callable that returns either a ``Q`` object or a dict. Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-09Removed double word in model docsClaude Paroz
2014-02-08Removed extra backquote in field docsClaude Paroz
2014-02-08Fixed #16192 -- Made unique error messages in ModelForm customizable.Loic Bistuer
Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion.
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2014-01-23Fixed #21865 -- Incorrect signs in documented example.Marc Tamlyn
Maths is hard.
2014-01-23Fixed #21864 -- Fixed missing quote in custom lookup example.Baptiste Mispelon
Thanks to Chris Barna for the report.