summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/base.py
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2013-06-28 06:15:03 +0300
committerShai Berger <shai@platonix.com>2013-06-28 06:59:10 +0300
commitd097417025e71286ad5bbde6e0a79caacabbbd64 (patch)
tree007c58c8787cee32cf68d08683b7c5294e8a4ad1 /django/db/backends/sqlite3/base.py
parent7c0b72a826a3637b30a57553ac83f6b913c33134 (diff)
Support 'pyformat' style parameters in raw queries, Refs #10070
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.
Diffstat (limited to 'django/db/backends/sqlite3/base.py')
-rw-r--r--django/db/backends/sqlite3/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index 324adfd97b..92dbf354ae 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -101,6 +101,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
has_bulk_insert = True
can_combine_inserts_with_and_without_auto_increment_pk = False
autocommits_when_autocommit_is_off = True
+ supports_paramstyle_pyformat = False
@cached_property
def uses_savepoints(self):