summaryrefslogtreecommitdiff
path: root/django/db/models/options.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/models/options.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/models/options.py')
-rw-r--r--django/db/models/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py
index ad813ae0f7..502cbc4a65 100644
--- a/django/db/models/options.py
+++ b/django/db/models/options.py
@@ -33,7 +33,7 @@ class Options(object):
self.admin = None
self.meta = meta
self.pk = None
- self.has_auto_field = False
+ self.has_auto_field, self.auto_field = False, None
self.one_to_one_field = None
self.parents = []