Re: Models inheritance in django: how to change PK "_ptr_id" on "id"?

2012-02-08 Thread Artyom Chernetzov
Thanks, everybody, problem was: I add ForeignKey field in object after dbsync. I just needed to reset database, it solve problem. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.co

Models inheritance in django: how to change PK "_ptr_id" on "id"?

2012-02-07 Thread Artyom Chernetzov
Here is model structure: Client is User, Client can be corporate or person: class Client(User): #fields class ClientCorporate(Client): #fields class ClientPerson(Client): #fields And client can make orders: class Order(models.Model