#13646: Wrong RE in comma_separated_int_list_re
---------------------------------------------------+------------------------
          Reporter:  aledr                         |         Owner:  erikr      
               
            Status:  assigned                      |     Milestone:  1.3        
               
         Component:  Database layer (models, ORM)  |       Version:  1.2        
               
        Resolution:                                |      Keywords:  
CommaSeparatedIntegerField
             Stage:  Design decision needed        |     Has_patch:  0          
               
        Needs_docs:  0                             |   Needs_tests:  0          
               
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by erikr):

  * component:  Uncategorized => Database layer (models, ORM)
  * needs_tests:  1 => 0
  * stage:  Accepted => Design decision needed

Comment:

 Oh, just noticed this actually seems to be by design:

 From tests/modeltests/model_forms/models.py:
 {{{
 >>> f = CommaSeparatedIntegerForm({'field': '1,,2'})
 >>> f.is_valid()
 True
 }}}

 So, this seems to be an intentional feature, and not a bug.
 I'll mark this as design decision needed, for someone more experienced to
 have a look at it.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13646#comment:2>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to