summaryrefslogtreecommitdiff
path: root/django/db/backends/__init__.py
diff options
context:
space:
mode:
authorIan Kelly <ian.g.kelly@gmail.com>2007-09-14 18:12:36 +0000
committerIan Kelly <ian.g.kelly@gmail.com>2007-09-14 18:12:36 +0000
commit93f60163e87036dac3dbfbbe09bdd7c7c195dd67 (patch)
tree2596452fcadceb2e184a51b6524e0c28408950df /django/db/backends/__init__.py
parent933cda3749865b0c776a21b39076c500ddcbe12f (diff)
Fixed #5218: Made Oracle create autoinc triggers using the correct name
of the AutoField column rather than always assume "ID". git-svn-id: http://code.djangoproject.com/svn/django/trunk@6195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/__init__.py')
-rw-r--r--django/db/backends/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index f3c6f59258..1b6ba07f24 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -56,7 +56,7 @@ class BaseDatabaseOperations(object):
a backend performs ordering or calculates the ID of a recently-inserted
row.
"""
- def autoinc_sql(self, table):
+ def autoinc_sql(self, table, column):
"""
Returns any SQL needed to support auto-incrementing primary keys, or
None if no SQL is necessary.