> Is it possible to have the ID field be unique across several classes
> or tables?  What i would like to do is, given the ID, load the object
> of that type out of the database.  Does this make sense, and is it
> possible?

No, it doesn't make sense <0.5 wink>, but here's
how you might do it.

You could create a ticket table whose sole
purpose was to generate a unique id, then
assign those ids as the primary keys to your
tables.

But someone can probably offer you a better
approach if you can provide a description of
your situation with more details.

--
Jeff Bauer
Rubicon, Inc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to