Is there anyway to make the primary key of a model a hash of some
sort?
some of these primary keys will be public facing, and i'd rather them
not be counting up sequentially.

in my current implementation, i have left the primary key alone and
have made a unique field that creates a hash and checks for its
existance.

just wondering if there is a simpler way to do it.
(it would remove the redundant two unique identifiers, and reduce
inserts by one (or more) queries that check to see if it already
exists or not.)
--~--~---------~--~----~------------~-------~--~----~
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