| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-08-24 | Fixed #20814 -- Improved model field accessor clash error messages | Christopher Medrela | |
| Thanks shai for the suggestion. | |||
| 2013-08-24 | Fixed #20961 -- Fixed HttpResponse default empty content | Claude Paroz | |
| Thanks epandurski at gmail.com for the report. | |||
| 2013-08-24 | Fixed 19949 -- Cached template loader now caches TemplateDoesNotExist | SusanTan | |
| Thanks @timgraham and @jdunck for the code reviews and Kronuz for bug report and initial patch. | |||
| 2013-08-23 | Removed usage of u"" string prefix, which doesn't work on python3.2 | Alex Gaynor | |
| 2013-08-23 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/backends/oracle/base.py django/db/backends/postgresql_psycopg2/base.py django/db/models/signals.py tests/queries/tests.py | |||
| 2013-08-23 | Fix some small errors in the tests | Andrew Godwin | |
| 2013-08-22 | Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions | Tim Graham | |
| Added settings.SESSION_SERIALIZER which is the import path of a serializer to use for sessions. Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews. | |||
| 2013-08-22 | Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with choices | Lukasz Balcerzak | |
| 2013-08-22 | Fixed #20934 -- Avoided NoReverseMatch in ModelAdmin.changelist_view | Rainer Koirikivi | |
| The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url. | |||
| 2013-08-22 | Fixed model.__eq__ and __hash__ for no pk value cases | Anssi Kääriäinen | |
| The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review. | |||
| 2013-08-22 | Fixed #20955 -- select_related regression | Anssi Kääriäinen | |
| In cases where the same connection (from model A to model B along the same field) was needed multiple times in a select_related query, the join setup code mistakenly reused an existing join. | |||
| 2013-08-21 | Fixed a regression with get_or_create and virtual fields. | Tim Graham | |
| refs #20429 Thanks Simon Charette for the report and review. | |||
| 2013-08-21 | Switched mail tests to SimpleTestCase. | Ramiro Morales | |
| 2013-08-21 | Fixed #12422 -- Don't override global email charset behavior for utf-8. | Ramiro Morales | |
| Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix. | |||
| 2013-08-21 | Fixed #20946 -- model inheritance + m2m failure | Anssi Kääriäinen | |
| Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field. | |||
| 2013-08-21 | Import test case classes from their public API module. | Ramiro Morales | |
| 2013-08-21 | Fixed #18967 -- Don't base64-encode message/rfc822 attachments. | Ramiro Morales | |
| Thanks Michael Farrell for the report and his work on the fix. | |||
| 2013-08-21 | Fixed #20933 -- Allowed loaddata to load fixtures from relative paths. | Florian Apolloner | |
| 2013-08-21 | Fixed invalid testing fixture | Anssi Kääriäinen | |
| 2013-08-21 | Fixed #20820 -- Model inheritance + m2m fixture loading regression | Anssi Kääriäinen | |
| Tests by Tim Graham, report from jeroen.pulles@redslider.net. | |||
| 2013-08-21 | Fixed test failure caused by different NULL ordering between backends | Anssi Kääriäinen | |
| 2013-08-21 | Fixed #14056 -- Made sure LEFT JOIN aren't trimmed in ORDER BY | Anssi Kääriäinen | |
| If LEFT JOINs are required for correct results, then trimming the join can lead to incorrect results. Consider case: TBL A: ID | TBL B: ID A_ID 1 1 1 2 Now A.order_by('b__a') did use a join to B, and B's a_id column. This was seen to contain the same value as A's id, and so the join was trimmed. But this wasn't correct as the join is LEFT JOIN, and for row A.id = 2 the B.a_id column is NULL. | |||
| 2013-08-21 | Fixed #14043 -- Made sure nullable o2o delete works as expected | Anssi Kääriäinen | |
| There was an old complaint about nullable one-to-one field cascading even when the o2o field was saved to None value before the deletion. Added an test to verify this doesn't happen. Also some PEP 8 cleanup. | |||
| 2013-08-21 | Fixed #20943 -- Weakly reference senders when caching their associated receivers | Simon Charette | |
| 2013-08-21 | Fixed an aggregation test failure on MySQL. | Simon Charette | |
| 2013-08-21 | Change autodetector changes API to be just one method | Andrew Godwin | |
| 2013-08-21 | Fixed a regression with get_or_create and virtual fields. | Tim Graham | |
| refs #20429 Thanks Simon Charette for the report and review. | |||
| 2013-08-21 | Switched mail tests to SimpleTestCase. | Ramiro Morales | |
| 2013-08-21 | Fixed #12422 -- Don't override global email charset behavior for utf-8. | Ramiro Morales | |
| Thanks simonb for the report, Claude Paroz and Susan Tan for their work on a fix. | |||
| 2013-08-21 | Fixed #20946 -- model inheritance + m2m failure | Anssi Kääriäinen | |
| Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field. | |||
| 2013-08-20 | Import test case classes from their public API module. | Ramiro Morales | |
| 2013-08-20 | Fixed #18967 -- Don't base64-encode message/rfc822 attachments. | Ramiro Morales | |
| Thanks Michael Farrell for the report and his work on the fix. | |||
| 2013-08-20 | Fixed #20933 -- Allowed loaddata to load fixtures from relative paths. | Florian Apolloner | |
| 2013-08-20 | Fixed invalid testing fixture | Anssi Kääriäinen | |
| 2013-08-20 | Fixed #20820 -- Model inheritance + m2m fixture loading regression | Anssi Kääriäinen | |
| Tests by Tim Graham, report from jeroen.pulles@redslider.net. | |||
| 2013-08-20 | Fixed test failure caused by different NULL ordering between backends | Anssi Kääriäinen | |
| 2013-08-20 | Fixed #14056 -- Made sure LEFT JOIN aren't trimmed in ORDER BY | Anssi Kääriäinen | |
| If LEFT JOINs are required for correct results, then trimming the join can lead to incorrect results. Consider case: TBL A: ID | TBL B: ID A_ID 1 1 1 2 Now A.order_by('b__a') did use a join to B, and B's a_id column. This was seen to contain the same value as A's id, and so the join was trimmed. But this wasn't correct as the join is LEFT JOIN, and for row A.id = 2 the B.a_id column is NULL. | |||
| 2013-08-20 | Fixed #14043 -- Made sure nullable o2o delete works as expected | Anssi Kääriäinen | |
| There was an old complaint about nullable one-to-one field cascading even when the o2o field was saved to None value before the deletion. Added an test to verify this doesn't happen. Also some PEP 8 cleanup. | |||
| 2013-08-20 | Fixed #20943 -- Weakly reference senders when caching their associated receivers | Simon Charette | |
| 2013-08-19 | Fixed an aggregation test failure on MySQL. | Simon Charette | |
| 2013-08-19 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: docs/ref/django-admin.txt | |||
| 2013-08-19 | Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects | Rainer Koirikivi | |
| The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report. | |||
| 2013-08-19 | Fixed #12807 -- EmptyResultSet ORed condition | Anssi Kääriäinen | |
| The EmptyResultSet wasn't treated correctly so the end results was incorrect, too. The bug had been already fixed in master so only tests added. | |||
| 2013-08-19 | Fixed #11881 -- removed junk from aggregation subqueries | Anssi Kääriäinen | |
| There were clauses that weren't needed in the subqueries. These were ORDER BY, SELECT FOR UPDATE and related selections. | |||
| 2013-08-19 | Fixed #12886 -- aggregation over sliced queryset | Anssi Kääriäinen | |
| 2013-08-19 | Add more stringent M2M tests and fix the bug they exposed | Andrew Godwin | |
| 2013-08-19 | PEP 8 cleanup | Anssi Kääriäinen | |
| 2013-08-19 | Fixed #12567 -- Incorrect SQL in model inheritance case | Anssi Kääriäinen | |
| An isnull lookup produced incorrect SQL. This was already fixed earlier, so only tests added. | |||
| 2013-08-19 | Fixed #20777 -- Admin proxy model deletion regression | Anssi Kääriäinen | |
| Added proxy_models tests by Harm Geerts <github@geertswei.nl>. | |||
| 2013-08-19 | Made Model.__eq__ consider proxy models equivalent | Anssi Kääriäinen | |
| Fixed #11892, fixed #16458, fixed #14492. | |||
