#399: Bigint field object needed
---------------------------------------------------+------------------------
          Reporter:  [email protected]            |         Owner:  permon     
         
            Status:  assigned                      |     Milestone:  1.2        
         
         Component:  Database layer (models, ORM)  |       Version:  SVN        
         
        Resolution:                                |      Keywords:  
sprintsept14, bigint
             Stage:  Accepted                      |     Has_patch:  1          
         
        Needs_docs:  0                             |   Needs_tests:  0          
         
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Changes (by yedpodtrzitko):

  * needs_better_patch:  0 => 1

Comment:

 Shouldn't be BigIntegerField compatible with IntegerField in all ways?
 Actually it isn't - if there's created BigIntegerField('''blank=True''',
 **something), it throws TypeError during save with empty value in this
 field. Patch still needs improvements, imho.


 long() argument must be a string or a number, not 'NoneType'

 Exception Location:
 ../django_common/django/db/models/fields/__init__.py in get_db_prep_save,
 line 736

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