| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-08-30 | Fixed #20999 - Allow overriding formfield class with choices, without ↵ | Carl Meyer | |
| subclass restrictions. Refs #18162. Thanks claudep and mjtamlyn for review. | |||
| 2013-08-30 | Fixed #20989 -- Removed useless explicit list comprehensions. | Simon Charette | |
| 2013-08-30 | Fixed #20988 -- Added model meta option select_on_save | Anssi 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 | |||
| 2013-08-30 | Removed stale add_q() comment | Anssi Kääriäinen | |
| 2013-08-29 | Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple() | Tim Graham | |
| Thanks jeroen.pulles at redslider.net for the suggestion and helper script. | |||
| 2013-08-29 | Fixed #14786 -- Fixed get_db_prep_lookup calling get_prep_value twice if ↵ | Tim Graham | |
| prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch. | |||
| 2013-08-29 | Fixed #20984 -- Stopped decoding bytes in sqlite3 adapter on Python 3 | Claude Paroz | |
| Thanks lvella at gmail.com for the report. | |||
| 2013-08-23 | Python 3 compat fix for callable() | Andrew Godwin | |
| 2013-08-23 | Fix location of tablespace clauses in schema backend column SQL | Andrew Godwin | |
| 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 Oracle's default handling and schema-prepared-statement issue | Andrew Godwin | |
| 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 | Revert "Fixed #20956 -- Removed useless check in django.db.utils" | Tim Graham | |
| This reverts commit ce0e86cf761dc182ae6fb8c0d68964955d19ec75. The check is necessary if 'ENGINE' is an empty string. Thanks apollo13 for pointing this out. | |||
| 2013-08-22 | Fixed #20956 -- Removed useless check in django.db.utils | Dima Kurguzov | |
| 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 | 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 | Oracle also treats NULLs as largests values when ordering. | Simon Charette | |
| 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 #20943 -- Weakly reference senders when caching their associated receivers | 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 | 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 | Oracle also treats NULLs as largests values when ordering. | Simon Charette | |
| 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 #20943 -- Weakly reference senders when caching their associated receivers | 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 #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 | Minor oracle fixes | Andrew Godwin | |
| 2013-08-19 | Made Model.__eq__ consider proxy models equivalent | Anssi Kääriäinen | |
| Fixed #11892, fixed #16458, fixed #14492. | |||
| 2013-08-16 | Fixed #20829 -- Skip postgis metadata tables with introspection | Harm Geerts | |
| 2013-08-13 | Oracle schema backend, passes most tests and is pretty complete. | Andrew Godwin | |
| 2013-08-13 | Fixed #20883 -- Made model inheritance find parent links in abstract parents | Loic Bistuer | |
| 2013-08-13 | Fixed #20874 -- bump_prefix() in nested subqueries | Anssi Kääriäinen | |
| Also made some cleanup to build_filter() code by introducing submethods solve_lookup_type() and prepare_lookup_value(). | |||
| 2013-08-12 | Start of getting Oracle to do schema stuff | Andrew Godwin | |
| 2013-08-11 | Fix weird planning issues when already fully migrated. | Andrew Godwin | |
| 2013-08-11 | Remove keep_default from add_field | Andrew Godwin | |
| 2013-08-11 | Fix tablespace command | Andrew Godwin | |
| 2013-08-11 | Support index_together during model creation | Andrew Godwin | |
| 2013-08-11 | Stop being overcautious about Field.rel | Andrew Godwin | |
| 2013-08-10 | Update get_constraints with better comments | Andrew Godwin | |
| 2013-08-10 | Docs tweaks (thanks timgraham) | Andrew Godwin | |
| 2013-08-09 | Remove pointless comment. | Andrew Godwin | |
| 2013-08-09 | Add [y/n] to autodetector questions and allow for default value | Andrew Godwin | |
