#13511: RegexValidator pattern is optional and should be required
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  davidfischer
  davidfischer                       |         Status:  assigned
                   Type:             |      Component:  Core (Other)
  Cleanup/optimization               |       Severity:  Normal
              Milestone:             |       Keywords:
                Version:  SVN        |  validators,regexvalidator
             Resolution:             |      Has patch:  1
           Triage Stage:  Accepted   |    Needs tests:  1
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------
Changes (by davidfischer):

 * easy:   => 0


Comment:

 I added a patch based on darkrho's suggestion. It will not break backward
 compatibility with subclasses of !RegexValidator. I added a note in the
 docs that if the user does not specify any regex, then !RegexValidator
 will match any passed string.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13511#comment:8>
Django <https://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-updates@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