summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2016-02-25Fixed #26151 -- Refactored MigrationWriter.serialize()Yoong Kang Lim
Thanks Markus Holtermann for review.
2016-02-25Fixed #26117 -- Consulted database routers in initial migration detection.Scott Sexton
Thanks Simon Charette for help.
2016-02-18Fixed #26233 -- Fixed invalid reSt in models.Q docstring.Tim Graham
2016-02-17Fixed #26219 -- Fixed crash when filtering by Decimal in RawQuery.Akshesh
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-12Updated allow_migrate() signature in check framework testsMarkus Holtermann
2016-02-11Fixed #26196 -- Made sure __in lookups use to_field as default.Anssi Kääriäinen
Thanks Simon Charette for the test.
2016-02-11Fixed #26179 -- Removed null assignment check for non-nullable foreign key ↵ZachLiuGIS
fields.
2016-02-11Fixed #26153 -- Reallowed Q-objects in ↵Anssi Kääriäinen
ForeignObject.get_extra_descriptor_filter().
2016-02-10Fixed #26154 -- Deprecated CommaSeparatedIntegerFieldBrobin
2016-02-08Fixed #26162 -- Checked query name clashes of hidden relationships.Simon Charette
Although reverse accessor clashes should be skipped query name can't be hidden. Thanks to Ian Foote and Tim Graham for the review.
2016-02-08Refs #24007 -- Removed an apps.populate() call in model unpickling that can ↵Tim Graham
cause deadlocks.
2016-02-08Fixed typo in django/db/migrations/state.py.Tim Graham
2016-02-08Fixed #26177 -- Fixed a PostgreSQL crash with TIME_ZONE=None and USE_TZ=False.Tim Graham
2016-02-05Fixed #25833 -- Added support for non-atomic migrations.Pankrat
Added the Migration.atomic attribute which can be set to False for non-atomic migrations.
2016-01-28Fixed #25354 -- Added class/app_label interpolation for related_query_name.James Pulec
2016-01-26Fixed #25546 -- Prevented duplicate queries with nested prefetch_related().François Freitag
2016-01-25Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps.Simon Charette
This was causing an issue when calling the `migrate` command in a test case with the `available_apps` attribute pointing to an application with migrations disabled using the `MIGRATION_MODULES` setting. Thanks to Tim Graham for the review. Refs #24919
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-23Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.Simon Charette
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23Fixed #26064 -- Moved operation reduction logic to their own class.Simon Charette
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23Fixed typo in django/db/backends/sqlite3/operations.py.seungkwon
2016-01-22Fixed #25910 -- Rejected read-only property names in model constructors.Joshua Phillips
2016-01-22Removed unused attributes of MySQL SchemaEditor.Tim Graham
2016-01-21Fixed #26063 -- Crash when passing > 2000 params.Aymeric Augustin
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does by setting the former to 250000, Django raised an exception on queries containing more than 2000 parameters when DEBUG = True.
2016-01-20Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model.Anssi Kääriäinen
2016-01-11Added missing period to "etc.".pp
2016-01-11Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input and Tim for the review.
2016-01-11Removed use of locals for print formatting in Oracle backend.Curtis Maloney
2016-01-08Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵Tim Graham
Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review.
2016-01-07Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet.Anderson Resende
2016-01-07Fixed #25892 -- Optimized SeparateDatabaseAndState.database_backwards().Amos Onn
Now intermediate states in the database_backwards are cached, similar to the executor's migrate() (or _migrate_all_backwards()). This makes the migration run much faster (O(n) instead of O(n^2) over number of database_operations).
2016-01-06Refs #25746 -- Added a test utility to isolate inlined model registration.Simon Charette
Thanks to Tim for the review.
2016-01-02Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().varunnaganathan
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-26Passed logging message parameters as arguments instead of interpolating them.Ville Skyttä
2015-12-26Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk().Bryan Marty
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-24Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().Varun Sharma
2015-12-24Discouraged use of /tmp with predictable names.Chris Lamb
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs.
2015-12-24Fixed #25981 -- Added need to update migrations to on_delete deprecation ↵Luis San Pablo
warning.
2015-12-24Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.Tomo Otsuka
2015-12-19Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.Tim Graham
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-12-17Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() ↵Sergey Fedoseev
on Oracle.
2015-12-15Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.Simon Charette
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus for the review.
2015-12-15Fixed #24675 -- Skipped SQL_AUTO_IS_NULL query on MySQL if not needed.Stewart Park
2015-12-15Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().Sergey Fedoseev
2015-12-14Fixed #25939 -- Removed redundant transaction in QuerySet.update_or_create().Ed Bartosh
There is no need to wrap the save() call in transaction.atomic() as it's already done down the call stack in Model.save_base().
2015-12-14Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.Simon Charette
Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891