summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Kelly <ian.g.kelly@gmail.com>2008-09-10 23:03:07 +0000
committerIan Kelly <ian.g.kelly@gmail.com>2008-09-10 23:03:07 +0000
commit0cd7fbec5637b50c304abef3c842ac72382ca32a (patch)
tree9c1685cdd515211da8d04de17a91bba6ced2b696
parent33c29736bb7b91c6888f2363bd6384885015e001 (diff)
Fixed an incorrectly named DatabaseOperations method. It was causing non-Oracle backends to fail when running syncdb with tablespaces set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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 bda0cbc463..9eb9729ea7 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -292,7 +292,7 @@ class BaseDatabaseOperations(object):
"""
return "BEGIN;"
- def sql_for_tablespace(self, tablespace, inline=False):
+ def tablespace_sql(self, tablespace, inline=False):
"""
Returns the SQL that will be appended to tables or rows to define
a tablespace. Returns '' if the backend doesn't use tablespaces.