﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24051	Tables are not created in specified tablespace when DEFAULT_TABLESPACE is specified	douglasjreynolds	nobody	"When DEFAULT_TABLESPACE is specified in the project settings.py using database backend, django.db.backends.postgresql_psycopg2, the DDL does not include the 'TABLESPACE' keyword, and the table is created in the default PostgreSQL tablespace.

This does not affect the INDEX tablespace.  The INDEXes are always created in the correct tablespace (both with just DEFAULT_TABLESPACE  and/or DEFAULT_INDEX_TABLESPACE).

The patch is based off of Django 1.7.1.
I have attached a patch to correct this issue.  It fixed the issue for me. "	Bug	closed	Database layer (models, ORM)	1.7	Release blocker	fixed	Tablespace model		Ready for checkin	1	0	0	0	0	0
