| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-06-28 | Support 'pyformat' style parameters in raw queries, Refs #10070 | Shai Berger | |
| Add support for Oracle, fix an issue with the repr of RawQuerySet, add tests and documentations. Also added a 'supports_paramstyle_pyformat' database feature, True by default, False for SQLite. Thanks Donald Stufft for review of documentation. | |||
| 2013-06-27 | Fixed #20571 -- Added an API to control connection.needs_rollback. | Aymeric Augustin | |
| This is useful: - to force a rollback on the exit of an atomic block without having to raise and catch an exception; - to prevent a rollback after handling an exception manually. | |||
| 2013-06-26 | Fixed #20462 - Replaced the str() cast introduced in 273dc55 by force_text() | Loic Bistuer | |
| 2013-06-26 | Fixed #20462 -- null/non-string regex lookups are now consistent | Andrew Clark | |
| Thanks to noirbizarre for the report and initial patch. | |||
| 2013-06-22 | Fixed #20587 -- Made convert_values handle None values | Gilberto Gonçalves | |
| 2013-06-20 | Add operation that renames tables | Andrew Godwin | |
| 2013-06-19 | Removed several unused imports. | Aymeric Augustin | |
| 2013-06-19 | Fix test running with new apps stuff/migrate actually running migrations | Andrew Godwin | |
| 2013-06-19 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/models/loading.py | |||
| 2013-06-11 | Revert "Fixed #20462 - Fixed sqlite regex lookups for null values and ↵ | Tim Graham | |
| non-string fields." This reverts commit 64041f0e6e7a773574d7cde978d16305200004ea. lookup.tests.LookupTests.test_regex_non_string fails under Postgres. We should also try to rewrite the test using an existing model. | |||
| 2013-06-11 | Fixed #20462 - Fixed sqlite regex lookups for null values and non-string fields. | Axel Haustant | |
| 2013-06-10 | Added a stealth option to flush to allow cascades. | Aymeric Augustin | |
| This allows using flush on a subset of the tables without having to manually cascade to all tables with foreign keys to the tables being truncated, when they're known to be empty. On databases where truncate is implemented with DELETE FROM, this doesn't make a difference. The cascade is allowed, not mandatory. | |||
| 2013-06-07 | Merge remote-tracking branch 'core/master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/models/fields/related.py | |||
| 2013-05-29 | Start adding operations that work and tests for them | Andrew Godwin | |
| 2013-05-27 | Fixed #20014 -- implemented get_key_columns() for Oracle | Shai Berger | |
| Thanks Aymeric Augustin for reporting | |||
| 2013-05-27 | Fixed #20501 -- failure of datetime queries with timezones under Oracle | Shai Berger | |
| 2013-05-27 | Fixed #20507 -- SubqueryConstraint alias handling | Anssi Kääriäinen | |
| MySQL should work now, too. | |||
| 2013-05-26 | Replaced `and...or...` constructs with PEP 308 conditional expressions. | Ramiro Morales | |
| 2013-05-22 | Fixed #20012 -- test_year_lookup_edge_case fails under Oracle | Shai Berger | |
| Used formatted date instead of datetime object for the end of the year range, as the datetime object loses fractions-of-seconds when inserted into the db. | |||
| 2013-05-22 | Fixed #20015 -- date__startswith('2008') fails under Oracle | Shai Berger | |
| Removed the explicit casting of strings to dates | |||
| 2013-05-22 | Fixed #20453 -- inspectdb test failure on Oracle | Shai Berger | |
| 2013-05-21 | (Re-)moved some imports | Claude Paroz | |
| 2013-05-19 | Fixed test failures with Oracle when pytz isn't installed. | Aymeric Augustin | |
| Thanks Shai Berger for the report. | |||
| 2013-05-19 | Merge pull request #1160 from erikr/host-inet-postgres2 | Aymeric Augustin | |
| Fixed #11442 -- Postgresql backend casts all inet types to text | |||
| 2013-05-19 | Fixed #11442 -- Postgresql backend casts all inet types to text | Erik Romijn | |
| 2013-05-19 | Merge pull request #1028 from manfre/patch-2 | Aymeric Augustin | |
| Fixed #20340 - document required return value for disable_constraint_checking | |||
| 2013-05-18 | Fixed #20386 - Introspection problem on Oracle | Shai Berger | |
| Made introspection always return a unicode as column name on Oracle. Thanks aaugustin for review and suggestion to use force_text(). | |||
| 2013-05-18 | More conversion to a ContextManager schema_editor | Andrew Godwin | |
| 2013-05-18 | Turn SchemaEditor into a context manager | Andrew Godwin | |
| 2013-05-10 | Merge branch 'master' into schema-alteration | Andrew Godwin | |
| 2013-05-09 | Split out a BaseAppCache, make AppCache borg again, add _meta.app_cache | Andrew Godwin | |
| 2013-05-08 | [py3] Stopped iterating on exceptions. Refs #20025. | Aymeric Augustin | |
| 2013-05-08 | Fixed #20025 -- Pointed to a MySQLdb fork for Python 3. | Aymeric Augustin | |
| Made a few minor compatibility adjustments. | |||
| 2013-05-08 | Fixed test failures on MySQL. | Aymeric Augustin | |
| Some tests failed when the time zone definitions were loaded in MySQL and pytz wasn't installed. This setup isn't supported. | |||
| 2013-04-24 | Fixed documentation of disable_constraint_checking | Michael Manfre | |
| The docstring and base implementation of disable_constraint_checking do not indicate that a return value is expected for proper behavior. | |||
| 2013-04-19 | Fix schema editor interaction with new transactions | Andrew Godwin | |
| 2013-04-18 | Merge branch 'master' into schema-alteration | Andrew Godwin | |
| Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py | |||
| 2013-04-01 | Fixed #16737 -- Support non-ascii column names in inspectdb | Claude Paroz | |
| Thanks moof at metamoof.net for the report. | |||
| 2013-04-01 | Fixed getting max_digits for MySQL decimal fields | Claude Paroz | |
| Refs #5014. | |||
| 2013-03-31 | Fixed #19220 -- Prevented decimals to be displayed in scientific notation | Claude Paroz | |
| Thanks nebstrebor for the report and antofik for the patch. | |||
| 2013-03-28 | Fixed #19954 -- Fixed MySQL _last_executed decoding | Claude Paroz | |
| Queries can contain binary data undecodable with utf-8. In this case, using the 'replace' errors mode when decoding seems like an acceptable representation of the query. Thanks Marcel Ryser for the report. | |||
| 2013-03-24 | Fixed #19385 again, now with real code changes | Anssi Kääriäinen | |
| The commit of 266de5f9ae9e9f2fbfaec3b7e4b5fb9941967801 included only tests, this time also code changes included... | |||
| 2013-03-23 | Fixed #9055 -- Standardized behaviour of parameter escaping in db cursors | Claude Paroz | |
| Previously, depending on the database backend or the cursor type, you'd need to double the percent signs in the query before passing it to cursor.execute. Now cursor.execute consistently need percent doubling whenever params argument is not None (placeholder substitution will happen). Thanks Thomas Güttler for the report and Walter Doekes for his work on the patch. | |||
| 2013-03-18 | Fixed #19968 -- Dropped support for PostgreSQL < 8.4. | Aymeric Augustin | |
| 2013-03-13 | Improved recovery when the connection is closed in an atomic block. | Aymeric Augustin | |
| 2013-03-13 | Made atomic usable when autocommit is off. | Aymeric Augustin | |
| Thanks Anssi for haggling until I implemented this. This change alleviates the need for atomic_if_autocommit. When autocommit is disabled for a database, atomic will simply create and release savepoints, and not commit anything. This honors the contract of not doing any transaction management. This change also makes the hack to allow using atomic within the legacy transaction management redundant. None of the above will work with SQLite, because of a flaw in the design of the sqlite3 library. This is a known limitation that cannot be lifted without unacceptable side effects eg. triggering arbitrary commits. | |||
| 2013-03-11 | Fixed #20010 -- Make sure `last_executed_query` contains it's associated ↵ | Simon Charette | |
| parameters on Oracle. Also removed some unused imports. | |||
| 2013-03-11 | Avoided closing the database connection within a transaction. | Aymeric Augustin | |
| Refs #9437. | |||
| 2013-03-11 | Improved the API of set_autocommit. | Aymeric Augustin | |
| 2013-03-11 | Added a safety net for developers messing with autocommit. | Aymeric Augustin | |
