On 10/19/06, flynnguy <[EMAIL PROTECTED]> wrote:
>
> Yes, but don't I still need to specify a primary key in django?
Yes you do, but you can nominate any field in your model as the
primary key - you don't have to use 'id'. If you add a
primary_key=True argument to the definition of any field, it
Russell Keith-Magee wrote:
> However, as suggested in the ticket, you can work around the problem
> by hand writing the schema yourself (or, in your case, inheriting some
> schema from elsewhere), then writing a Django model that replicates
> everything in your schema _except_ the mutliple primary
On 10/19/06, flynnguy <[EMAIL PROTECTED]> wrote:
>
> In searching I found Ticket #373 which seems to discuss the issue but
> doesn't offer a workaround or anything. I'm trying to think of how I
> can make this work. I guess I could just write my own sql but I'd like
> the ability to use the admin
I'm trying to inspect my db for mythtv. I'm running into issues with
the inspect command because of the 0 date issue, not a problem, I'm
just creating the models I need by hand. The issue I am currently
running into is the recorded table has two primary keys (chanid and
starttime).
In searching I
4 matches
Mail list logo