| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-08-06 | Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite. | Alex Hill | |
| 2014-08-05 | Removed code that assumed BooleanField could be null. | Tim Graham | |
| Such a field will no longer pass model validation. | |||
| 2014-08-05 | Fixed #23061: Avoided setting a limit on a query for get with ↵ | Shai Berger | |
| select_for_update on Oracle Thanks Michael Miller for reporting the issue. | |||
| 2014-08-04 | Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters. | Stanislas Guerra | |
| 2014-08-03 | Removed unnecessary code in ManyToManyField.deconstruct() | Baptiste Mispelon | |
| 2014-08-03 | Added missing logic to TimeField.deconstruct(). | Baptiste Mispelon | |
| If auto_now or auto_now_add was used then the serialized field in the migration contained unnecessary `editable` and `blank` arguments. | |||
| 2014-08-03 | Fixed #23156 -- Added missing BinaryField.deconstruct() method. | Baptiste Mispelon | |
| 2014-08-01 | Fixed #21940 -- Added kwargs to contribute_to_class() of model fields.. | Mitar | |
| Thanks Kronuz for the suggestion. | |||
| 2014-07-30 | Fixed #23112 -- Field.get_choices tries to index an iterable | areski | |
| 2014-07-27 | Fixed #23098 -- Checked that lazy choices are not evaluated too soon | Florian Apolloner | |
| Thanks Matthieu Agopian for the report. | |||
| 2014-07-26 | Fixed #23101 db_table wasn't copied in deconstruct | Abraham Martin | |
| Forward port of 999758fc7a2d6fcb01eb40de937d4420f884788d from stable/1.7.x | |||
| 2014-07-26 | Fixed #22887 -- Added comment for translators on unique_for_date error message | Federico Frenguelli | |
| 2014-07-16 | Fixed #22998 -- Updated the fast_delete logic for GFKs | Gavin Wahl | |
| 2014-07-14 | Fixed name of database connection feature | Shai Berger | |
| 2014-07-14 | Fixed #22994 -- regression with generic FK + admin list_view | Anssi Kääriäinen | |
| The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue. | |||
| 2014-07-09 | Fixed #19671 -- Added warnings that null and validators are ignored for ↵ | Anubhav Joshi | |
| ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review. | |||
| 2014-07-05 | Fixed various minor doc typos / references. | Daniel Hahler | |
| 2014-07-04 | Fixed #20631 -- Increased the default EmailField max_length to 254. | Tim Graham | |
| Thanks pmartin for the report. | |||
| 2014-07-02 | Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to ↵ | Anubhav Joshi | |
| refer to correct field. Thanks Tim Graham for suggestion and review. | |||
| 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-07-01 | Fixed #14334 -- Query relation lookups now check object types. | Anubhav Joshi | |
| Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews. | |||
| 2014-06-30 | Fixed problem with refs #10811. | Anubhav Joshi | |
| When 'to_field' is specified with a FK, then we need to check the pk value the object. | |||
| 2014-06-25 | Fixed #22050 -- Fixed defer fields on proxy related models. | Lovas Bence | |
| 2014-06-23 | Fixed #22889: Unneeded to_field in fk.deconstruct causing swap issues | Andrew Godwin | |
| 2014-06-23 | Fixed problem introduced with #refs 13711. | Anubhav Joshi | |
| 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-17 | Fixed #13711 -- Model check added to ensure that auto-generated column name ↵ | Anubhav Joshi | |
| is within limits of the database. Thanks russellm for report and Tim Graham for review. | |||
| 2014-06-17 | Fixed #22819 -- Renamed output_type -> output_field in query expression API. | Tim Graham | |
| Thanks jorgecarleitao for the suggestion. | |||
| 2014-06-14 | Improved code style of Query.table_alias() usage. | Jorge C. Leitão | |
| 2014-06-14 | Removed unnecessary attribute assigment to SQLCompiler. | Jorge C. Leitão | |
| 2014-06-14 | Fixed #22826 -- Improved internal usage of Query.setup_joins. | Jorge C. Leitão | |
| 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-05 | Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵ | Anubhav Joshi | |
| ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review. | |||
| 2014-06-02 | Fixed #22690 -- Added a check for proxy models containing fields. | Craig de Stigter | |
| Removed the FieldError raised by ModelBase.__new__ in this case. | |||
| 2014-06-01 | Fixed #22711 -- Adjusted ordering checks to allow implicit relation fields. | Vincent-Vega | |
| refs #19195. | |||
| 2014-05-28 | Fixed several typos in Django | Alex Gaynor | |
| 2014-05-29 | Fixed #22720 -- Migrations attempt to create _order twice. | Víðir Valberg Guðmundsson | |
| 2014-05-21 | Merge pull request #2679 from ramiro/t22421 | Ramiro Morales | |
| Fixed #22421 -- Regression in fixtures loading. | |||
| 2014-05-21 | Fixed the ordering of prefetch lookups so that latter lookups can refer to ↵ | Loic Bistuer | |
| former lookups. Thanks Anssi Kääriäinen and Tim Graham for the reviews. Refs #17001 and #22650. | |||
| 2014-05-21 | Fixed #22650 -- Fixed regression on prefetch_related. | Loic Bistuer | |
| Regression from f51c1f59 when using select_related then prefetch_related on the reverse side of an O2O: Author.objects.select_related('bio').prefetch_related('bio__books') Thanks Aymeric Augustin for the report and tests. Refs #17001. | |||
| 2014-05-17 | Fixed #22421 -- Regression in fixtures loading. | Ramiro Morales | |
| Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946. | |||
| 2014-05-17 | Fixed #22648 -- Transform.output_type should respect overridden ↵ | Marc Tamlyn | |
| custom_lookup and custom_transform. Previously, class lookups from the output_type would be used, but any changes to custom_lookup or custom_transform would be ignored. | |||
| 2014-05-17 | Merge pull request #2346 from Markush2010/ticket21905 | Florian Apolloner | |
| Fixed #21905 -- Add info message if DateField or TimeField use a fixed value | |||
| 2014-05-16 | Fixed typo. | Tim Graham | |
| 2014-05-16 | Fixed #21905 -- Add info message if DateField or TimeField use a fixed value | Markus Holtermann | |
| 2014-05-16 | Fixed #18389 -- Fixed the way contribute_to_class is called | Vlad Starostin | |
| Now this method is only called only if the object is an instance. This allows to have field classes as model class attributes. | |||
| 2014-05-16 | Refs #21798 - Modified error number to provide room for future expansion. | Russell Keith-Magee | |
| 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-10 | Fixed #22508 -- Avoided overwriting select_related. | Aymeric Augustin | |
| Previously, known related objects overwrote related objects loaded though select_related. This could cancel the effect of select_related when it was used over more than one level. Thanks boxm for the bug report and timo for bisecting the regression. | |||
| 2014-05-06 | Fixed #22564 -- Prevented unneeded bytestrings in migrations | Claude Paroz | |
| In some cases, this could lead to migrations written with Python 2 being incompatible with Python 3. Thanks Tim Graham for the report and Loïc Bistuer for the advices. | |||
