#4682: [patch] Add UuidField
-------------------------------------------------+--------------------------
   Reporter:  John Downey <[EMAIL PROTECTED]>  |                Owner:  nobody  
              
     Status:  new                                |            Component:  
Database wrapper      
    Version:  SVN                                |           Resolution:        
                
   Keywords:  uuid field                         |                Stage:  
Design decision needed
  Has_patch:  0                                  |           Needs_docs:  0     
                
Needs_tests:  0                                  |   Needs_better_patch:  0     
                
-------------------------------------------------+--------------------------
Comment (by anonymous):

 Replying to [comment:6 ubernostrum]:
 > Replying to [comment:4 anonymous]:
 > > i needed an uuid field for my django project and i wrote this custom
 Field.
 > > it uses the new uuid.py module from python 2.5
 >
 > Django has a stated policy of maintaining compatibility back to Python
 2.3, so if it's possible to do this without having to bundle a Python 2.5
 module that would be vastly preferable.

 Sorry last my eye on this ticket... The patch uses Python 2.5's uuid
 module if available otherwise is looks for the uuid.py module in
 django.utils.
 (somewhere i hope django officially takes this up into it's distribution
 :) )

 In the mean time people using python 2.3 or 2.4 (like i am, my mod_python
 py version is 2.4) can copy the file from the standaard Python 2.5
 distribution.
 The py2.5 uuid.py is not 2.5 specific it's only included for the first
 time in py2.5.

 For clarity i also attached uuid.py to this ticket. Copy uuid.py to
 /path/to/django-trunk/django/utils or where ever your django framework is
 located and it should work.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4682#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to