#13646: Wrong RE in comma_separated_int_list_re -----------------------------+---------------------------------------------- Reporter: aledr | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.2 Keywords: comma separated | Stage: Unreviewed Has_patch: 0 | -----------------------------+---------------------------------------------- The actual RE validator in comma_separated_int_list_re for CommaSeparatedIntegerField will allow some kind of following values:
{{{ ',,,' '1,,2,3,' }}} It is {{{ comma_separated_int_list_re = re.compile('^[\d,]+$') }}} and should be: {{{ comma_separated_int_list_re = re.compile('^[\d,]*\d$') }}} -- Ticket URL: <http://code.djangoproject.com/ticket/13646> 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.