From 0cd7fbec5637b50c304abef3c842ac72382ca32a Mon Sep 17 00:00:00 2001 From: Ian Kelly Date: Wed, 10 Sep 2008 23:03:07 +0000 Subject: [PATCH] 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 --- django/db/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.