I'm starting to see a lot of benefit in using UUID as a primary key
rather than autogenerated id numbers.  Since Django doesn't natively
support the field, I guess you would have to use a CharField with a
max_length of 32.  Unfortunately, this wouldn't produce a native UUID
datatype which Oracle and PostgreSQL 8.3 support.

In addition, you would have to write some python code to generate the
UUID value that would get placed in this field.

In order to get a datatype created for Django, I believe it would
first have to be supported in the database engine that's being used,
correct?  So I would need to make sure psycopg2 supported it before I
could try and implement it in Django.  Is this 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