Re: Newbie DB question

2006-11-07 Thread Martin Bačovský
Russell Keith-Magee wrote: > I just created a test model and set the db_table to 'poll.polls', and > tables were created without difficulty. What problem did you > experience? > Problem is that django quotes db_table so table is called "poll.polls" and postgres stores it in default schema

Re: Newbie DB question

2006-11-07 Thread Martin Bačovský
Thank you for quick response. Russell Keith-Magee wrote: > On 11/6/06, Martin Bačovský <[EMAIL PROTECTED]> wrote: > >> I have two questions I was unable to google: >> - Is Django going to support database views? >> > > We don't have any immed

Newbie DB question

2006-11-06 Thread Martin Bačovský
I have two questions I was unable to google: - Is Django going to support database views? Solution i have found here: http://code.djangoproject.com/ticket/419 seems to be a bit tricky. I would rather like to create django.db.models.view which ancestors can produce SQL like 'CREATE OR REPLACE