﻿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
3163	[patch] Optionally disable DB table creation from model	wolfram.kriesing@…	Malcolm Tredinnick	"I am using DB-views but also want them to be available as a model inside the app, but I dont want ""syncdb"" to create any DB table for it.
So I added an option ""create_db_table"" to the Meta class, like so:

{{{
class MyModel(models.Model):
    ...

    class Meta:
        create_db_table = False # prevent table creation in DB
}}}"	enhancement	closed	Database layer (models, ORM)	dev	normal	fixed	raw SQL view readonly		Accepted	1	0	0	0	0	0
