Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix tablespace command

  • Loading branch information...
commit d985fd7a189cdbfa2093c1225bdeb7eefaeb6978 1 parent ae19315
Andrew Godwin authored August 11, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/backends/schema.py
2  django/db/backends/schema.py
@@ -312,7 +312,7 @@ def alter_db_tablespace(self, model, old_db_tablespace, new_db_tablespace):
312 312
         """
313 313
         Moves a model's table between tablespaces
314 314
         """
315  
-        self.execute(self.sql_rename_table % {
  315
+        self.execute(self.sql_retablespace_table % {
316 316
             "table": self.quote_name(model._meta.db_table),
317 317
             "old_tablespace": self.quote_name(old_db_tablespace),
318 318
             "new_tablespace": self.quote_name(new_db_tablespace),

0 notes on commit d985fd7

Please sign in to comment.
Something went wrong with that request. Please try again.