| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-07-02 | Fixed typo in docs/ref/models/instances.txt | Tim Graham | |
| 2014-07-01 | Fixed #19501 -- added Model.from_db() method | Anssi Kääriäinen | |
| The Model.from_db() is intended to be used in cases where customization of model loading is needed. Reasons can be performance, or adding custom behavior to the model (for example "dirty field tracking" to issue automatic update_fields when saving models). A big thank you to Tim Graham for the review! | |||
| 2014-06-18 | Fixed #22778 -- Added a model Meta option to define default_related_name. | Renaud Parent | |
| Thanks jorgecarleitao and mmardini for reviews. | |||
| 2014-06-18 | Fixed #14481 -- Documented implicit "through" class created by ManyToManyField. | Jorge C. Leitão | |
| Thanks to jonathanmorgan for the report and initial patch. | |||
| 2014-06-17 | Fixed #22819 -- Renamed output_type -> output_field in query expression API. | Tim Graham | |
| Thanks jorgecarleitao for the suggestion. | |||
| 2014-06-15 | Fixed #22660: Doc'd you can't have unmigrated apps depend on migrated | Andrew Godwin | |
| 2014-06-12 | Fixed #22813 -- Updated Pillow URL in documentation | Claude Paroz | |
| 2014-06-11 | Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵ | Anubhav Joshi | |
| from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch. | |||
| 2014-06-04 | Fixed #22710 -- Amended aggregation note for empty QuerySets | Guillaume Pannatier | |
| Thanks smeaton for report and Joël Rochat for spell check | |||
| 2014-06-02 | Unicode method on model should return unicode | Ryan Nowakowski | |
| The example of a __unicode__ model method should return a unicode value instead of a string. | |||
| 2014-05-30 | Fixed #22710 -- Documented aggregation behavior for empty QuerySets. | Guillaume Pannatier | |
| Thanks matklad for the report. | |||
| 2014-05-25 | Fixed typo in docs/ref/models/custom-lookups.txt. | Matthew Schinckel | |
| 2014-05-17 | Fixed #22019 -- Added Model.objects reference documentation. | Aliaksandr Semianiuk | |
| 2014-05-16 | Fixed #21798 -- Added check for DateTime mutually exclusive options | Daniel Pyrathon | |
| Added DateTimeCheckMixin to avoid the use of default, auto_now, and auto_now_add options together. Added the fields.E151 Error that is raised if one or more of these options are used together. | |||
| 2014-05-14 | Fix typo that disabled code example highlighting | Éric Araujo | |
| 2014-04-30 | 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. | |||
| 2014-04-30 | Fixed #22537 -- Add tests and improved docs for field subclass with choices. | Mike Fogel | |
| 2014-04-25 | Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection | Moayad Mardini | |
| Thanks Erik Romijn for the suggestion. | |||
| 2014-04-21 | Fixed queries that may return unexpected results on MySQL due to typecasting. | Erik Romijn | |
| This is a security fix; disclosure to follow shortly. | |||
| 2014-04-18 | Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save(). | Tim Graham | |
| 2014-04-16 | Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. | chriscauley | |
| Thanks tomwys for the suggestion. | |||
| 2014-04-10 | Documentation fixes for the select_for_update change. | Shai Berger | |
| Refs #22343; thanks Tim Graham for the fixes. | |||
| 2014-04-10 | Fixed #22343 -- Disallowed select_for_update in autocommit mode | Shai 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. | |||
| 2014-04-08 | Fixed #22405 -- Fixed string error in models/queries docs. | Anubhav Joshi | |
| 2014-03-24 | Removed versionadded/changed annotations for 1.6. | Tim Graham | |
| 2014-03-24 | Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships. | Adam Kaliński | |
| Thanks EvilDMP for the suggestion. | |||
| 2014-03-22 | Fixed #22313 -- Removed 'u' prefixes from documentation | Claude Paroz | |
| 2014-03-21 | Removed PIL compatability layer per deprecation timeline. | Tim Graham | |
| refs #19934. | |||
| 2014-03-21 | Fixed minor syntax error in Queryset docs | Bryan Helmig | |
| 2014-03-11 | Fixed #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-07 | Fixed #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-05 | Fixed #14549 - Removed restriction of single FKs on intermediary tables | Akis Kesoglou | |
| Thanks to Loic Bistuer for review. Minor changes to error messages done by committer. | |||
| 2014-03-05 | Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength | Chris Wilson | |
| 2014-03-03 | Allowed custom querysets when prefetching single valued relations | Loic 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-01 | Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵ | Anubhav Joshi | |
| of lists).. Thanks EmilStenstrom for the suggestion. | |||
| 2014-02-28 | Fixed spelling mistakes in docs. | Tim Graham | |
| 2014-02-28 | Fixed doc typos. | Tim Graham | |
| 2014-02-25 | Fixed #22145 -- Clarified docs on Field.blank and Field.null options. | navneet suman | |
| Thanks skipjack at peru.com for the suggestion. | |||
| 2014-02-25 | Fixed docs typos. | Szczepan Cieślik | |
| 2014-02-17 | Fixed #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-15 | Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type | chomik | |
| Thanks to cjerdonek for the suggestion. | |||
| 2014-02-13 | Fixed #21951 -- Updated docs to use __str__ for Python 3 | Alasdair Nicol | |
| Thanks Tim Graham for the report and recommendations | |||
| 2014-02-11 | Fixed #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-09 | Removed double word in model docs | Claude Paroz | |
| 2014-02-08 | Removed extra backquote in field docs | Claude Paroz | |
| 2014-02-08 | Fixed #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-26 | Fixed #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-23 | Fixed #21865 -- Incorrect signs in documented example. | Marc Tamlyn | |
| Maths is hard. | |||
| 2014-01-23 | Fixed #21864 -- Fixed missing quote in custom lookup example. | Baptiste Mispelon | |
| Thanks to Chris Barna for the report. | |||
| 2014-01-23 | Fixed some punctuation; thanks Chris Jerdonek. | Tim Graham | |
