If you really want an "empty" model -- but with a primary key, you
could define an "auto" field and delcare it to be the primary key. This
would give you in the DB the exact same thing as an empty model would.

One use case is implementing object inheritance in DB. One overall
"base" model is really just a placeholder for a sequence counter. Then
you have a global unique "objectID" that you can use in other models as
primary key.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to