summaryrefslogtreecommitdiff
path: root/django/db/backends/__init__.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-08-20 00:30:19 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-08-20 00:30:19 +0000
commitd4f218bd91d08ed79fcc67c10f4e1cfc6b221784 (patch)
tree752217d54feb37b974e831720b2ad0323db6db18 /django/db/backends/__init__.py
parent13061bf20bc467c5655c2dfa280dc226a00effcd (diff)
Refactored get_tablespace_sql() to DatabaseOperations.tablespace_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/__init__.py')
-rw-r--r--django/db/backends/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 8af82a4dda..78dc506add 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -166,3 +166,10 @@ class BaseDatabaseOperations(object):
Returns the SQL statement required to start a transaction.
"""
return "BEGIN;"
+
+ def tablespace_sql(self, tablespace, inline=False):
+ """
+ Returns the tablespace SQL, or None if the backend doesn't use
+ tablespaces.
+ """
+ return None