index 154f452..e198f6a 100644
--- a/home/mav/.ve/temperature/lib/python2.7/site-packages/django/db/backends/schema.py
+++ b/schema.py
@@ -260,6 +260,11 @@ class BaseDatabaseSchemaEditor(object):
             "table": self.quote_name(model._meta.db_table),
             "definition": ", ".join(column_sqls)
         }
+        # Add tablespace
+        tablespace = model._meta.db_tablespace
+        if tablespace and self.connection.features.supports_tablespaces:
+            sql += " %s" % self.connection.ops.tablespace_sql(tablespace, inline=False)
+
         self.execute(sql, params)
         # Add any index_togethers
         for fields in model._meta.index_together:
