>
> the primary key counters for Restaurant and Bar classes are separated, which
> causes me troubles, because I want a Place to be Restaurant or Bar not both.
>
I'm not sure if this is what you need, but take a look here:
http://docs.djangoproject.com/en/dev/topics/db/models/#id8
--
Tomasz Zie
Hello,
I am using django 1.1 and I discovered this problem:
I have models like these
---
class Place(model.Models)
...
class Restaurant(Place)
...
class Bar(Place)
...
---
the primary key counters for Restaurant and Bar classes are separate
2 matches
Mail list logo