#2443: Add IntervalField to database models
-------------------------------------------------------------+--------------
   Reporter:  [EMAIL PROTECTED]                           |                
Owner:  Gulopine              
     Status:  new                                            |            
Component:  Database wrapper      
    Version:  SVN                                            |           
Resolution:                        
   Keywords:  IntervalField interval duration DurationField  |                
Stage:  Design decision needed
  Has_patch:  1                                              |           
Needs_docs:  0                     
Needs_tests:  1                                              |   
Needs_better_patch:  1                     
-------------------------------------------------------------+--------------
Comment (by stefanfoulis):

 In {{{DurationProxy.__get__}}} the value that
 {{{instance.__dict__[self.field_name]}}} returns is a {{{Decimal}}} object
 (if the value in the database is 0). With other values it is a
 {{{TimeDelta}}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2443#comment:14>
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