On Nov 3, 2005, at 7:41 AM, stava wrote:
I'm thinking of using a model for a database view (for convinience). Is
there anyway one could set anything int the META of a model to tell it
*not* to create a database table when doing a "django-admin sqlreset",
or do I have to manually filter out the "create table..." statement?

Currently you've got to do the manual thing, but see http:// code.djangoproject.com/ticket/419.

Note that when you're "wrapping" a view be sure to insert the output of "django-admin sqlinitialdata" so that the packages/content-types tables get set up correctly.

Jacob

Reply via email to