| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-02-20 | [1.8.x] Update converters to take a consistent set of parameters. | Marc Tamlyn | |
| As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions. Backport of 32d4db66b9 from master | |||
| 2015-02-17 | [1.8.x] Refs #24324 -- Fixed UnicodeEncodeError in SQLite backend while testing. | Tim Graham | |
| If 'name' contained non-ASCII characters, the comparison raised a UnicodeEncodeError on Python 2. Backport of 63c5c9870129f6b81358c1ed7ed2392bbc46f77d from master | |||
| 2015-02-10 | [1.8.x] Fixed isort import that's inconsistent between platforms. | Loic Bistuer | |
| Backport of c8e24bbc9b027a712b54e3665d27418ae538f15d from master | |||
| 2015-02-09 | [1.8.x] Sorted imports with isort; refs #23860. | Tim Graham | |
| Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master | |||
| 2015-01-27 | [1.8.x] Fixed #24154 -- Backends can now check support for expressions | Josh Smeaton | |
| Backport of 8196e4bdf498acb05e6680c81f9d7bf700f4295c from master | |||
| 2015-01-22 | [1.8.x] Fixed #24104 -- Fixed check to look on field.many_to_many instead of ↵ | Andriy Sokolovskiy | |
| class instance Backport of 38c17871bb6dafd489367f6fe8bc56199223adb8 from master | |||
| 2015-01-14 | Fixed #22603 -- Reorganized classes in django.db.backends. | Tim Graham | |
| 2015-01-12 | Fixed #17785 -- Preferred column names in get_relations introspection | Claude Paroz | |
| Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review. | |||
| 2015-01-10 | Introspected alternate SQLite FK definitions | Claude Paroz | |
| 2015-01-08 | Fixed #24020 -- Refactored SQL compiler to use expressions | Anssi Kääriäinen | |
| Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument. | |||
| 2015-01-06 | Fixed #12663 -- Formalized the Model._meta API for retrieving fields. | Daniel Pyrathon | |
| Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | |||
| 2014-12-31 | Moved DatabaseCreation.data_types properties to DatabaseWrapper. | Tim Graham | |
| refs #22340. | |||
| 2014-12-30 | Fixed #12118 -- Added shared cache support to SQLite in-memory testing. | Andriy Sokolovskiy | |
| 2014-12-23 | Refs #2443 -- fixed format_dtdelta on SQLite | Anssi Kääriäinen | |
| A test failed on Python 2 32-bit. | |||
| 2014-12-20 | Fixed #2443 -- Added DurationField. | Marc Tamlyn | |
| A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews. | |||
| 2014-12-15 | Fixed #23987 -- Made SQLite SchemaEditor always use effective_default(). | Andriy Sokolovskiy | |
| 2014-12-12 | Fixed #23941 -- Removed implicit decimal formatting from expressions. | Josh Smeaton | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-12-01 | Fixed #23880 -- Added missing index_together handling for SQLite | Markus Holtermann | |
| 2014-11-28 | Fixed #16731 -- Made pattern lookups work properly with F() expressions | Thomas Chaumeny | |
| 2014-11-15 | Fixed #14030 -- Allowed annotations to accept all expressions | Josh Smeaton | |
| 2014-10-23 | Fixed #23702 -- Fixed adding an explicit id field on SQLite. | Tim Graham | |
| Thanks gavinwahl for the report. | |||
| 2014-10-09 | Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column ↵ | Markus Holtermann | |
| into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review. | |||
| 2014-09-26 | Factorized schema_editor() at BaseDatabaseWrapper level | Claude Paroz | |
| 2014-09-23 | Made get_table_list return a TableInfo named tuple | Claude Paroz | |
| 2014-09-16 | Fixed #19463 -- Added UUIDField | Marc Tamlyn | |
| Uses native support in postgres, and char(32) on other backends. | |||
| 2014-09-05 | Limited lines to 119 characters in django/ | Tim Graham | |
| refs #23395. | |||
| 2014-09-03 | Fixed #18757, #14462, #21565 -- Reworked database-python type conversions | Marc Tamlyn | |
| Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews. | |||
| 2014-08-10 | Made sqlite's remove_field behave like the base backend. | Florian Apolloner | |
| 2014-08-06 | Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite. | Alex Hill | |
| 2014-08-04 | Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell. | Mihail Milushev | |
| This fixes escaping of special characters on Windows. | |||
| 2014-07-28 | Fixed #23074 -- Avoided leaking savepoints in atomic. | Aymeric Augustin | |
| Thanks Chow Loong Jin for the report and the initial patch. | |||
| 2014-07-23 | Fixed #23030 -- Properly handled geometry columns metadata during migrations | Claude Paroz | |
| Thanks kunitoki for the report and initial patches. | |||
| 2014-07-21 | Fixed #23014: Renaming not atomic with unique together | Andrew Godwin | |
| 2014-06-16 | Renamed DatabaseFeature.supports_check_constraints to ↵ | Tim Graham | |
| supports_column_check_constraints. Thanks maxi for the suggestion. | |||
| 2014-06-16 | Fixed #22844: Duplicate SQL for SQLite FKs | Andrew Godwin | |
| 2014-06-06 | Replaced an explicit vendor check by a feature flag. | Aymeric Augustin | |
| Forward-port of c9aedce0 from stable/1.7.x. | |||
| 2014-06-01 | Fixed #22744 -- Fixed sqlite3 get_relations introspection with views | Claude Paroz | |
| Thanks Tim Graham for the report and Simon Charette for the review. | |||
| 2014-05-28 | Fixed #20550 -- Added ability to preserve test db between runs | Greg Chapple | |
| 2014-05-20 | Fixed #22432: SQLite M2M repointing now works. Thanks to xelnor. | Andrew Godwin | |
| 2014-05-20 | Fixed #22649: Beefed up quote_value | Andrew Godwin | |
| 2014-05-17 | Fixed #22626 -- Allow BinaryField defaults with SQlite. | Raphaël Barrois | |
| Also fixes a slight issue in sqlite3.schema._remake_table where default values where quoted with "column name" quoting rules. Reference for quoting: http://www.sqlite.org/lang_expr.html Thanks Shai Berger for the review. Refs #22424. | |||
| 2014-05-08 | Added feature flags for introspection capabilities. | Aymeric Augustin | |
| 2014-05-08 | Fixed #22476: Couldn't alter attributes on M2Ms with through= set | Andrew Godwin | |
| 2014-05-07 | Fixed #22581: Pass default values for schema through get_db_prep_save() | Andrew Godwin | |
| 2014-04-25 | Set some transaction-related feature flags on SQLite. | Aymeric Augustin | |
| Refs #22496. | |||
| 2014-04-18 | Fixed #22397 -- Issues removing M2M field with explicit through model | Andrew Gorcester | |
| Changed the migration autodetector to remove models last so that FK and M2M fields will not be left as dangling references. Added a check in the migration state renderer to error out in the presence of dangling references instead of leaving them as strings. Fixed a bug in the sqlite backend to handle the deletion of M2M fields with "through" models properly (i.e., do nothing successfully). Thanks to melinath for report, loic for tests and andrewgodwin and charettes for assistance with architecture. | |||
| 2014-04-18 | Revert "Fixed #22397 -- Issues removing M2M field with explicit through model." | Simon Charette | |
| This reverts commit 00e3b9a2a992ee0b7288eeeb03e7cbd52ebc6dce. It's causing a regression when tested with the proxy_model_inheritance tests. | |||
| 2014-04-17 | Fixed #22397 -- Issues removing M2M field with explicit through model. | Andrew Gorcester | |
| Changed the migration autodetector to remove models last so that FK and M2M fields will not be left as dangling references. Added a check in the migration state renderer to error out in the presence of dangling references instead of leaving them as strings. Fixed a bug in the sqlite backend to handle the deletion of M2M fields with "through" models properly (i.e., do nothing successfully). Thanks to melinath for report, loic for tests and andrewgodwin and charettes for assistance with architecture. | |||
| 2014-04-10 | Fixed #22321 -- Wrapped exceptions in _set_autocommit. | Aymeric Augustin | |
| Refs #21202. | |||
