On Mon, Mar 31, 2008 at 4:00 AM, Julien <[EMAIL PROTECTED]> wrote:
>  I just thought I'd try to make it clearer what I'm after. Instead of
>  having numbers as ID for my objects, I'd like to have random strings
>  (e.g. "sadfwetbtyvt32452" or "fd70982876adhfd"...). Those strings have
>  to be unique across the table.

Why not use UUIDs? There are a couple snippets floating around,
already implemented, for a UUID field type, so it'd be easy to just
drop one into your code and run with it.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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