#13728: Incorrect default value for verify_exists in URLField documentation
------------------------------------+---------------------------------------
          Reporter:  marktran       |         Owner:  suzaku
            Status:  closed         |     Milestone:        
         Component:  Documentation  |       Version:  1.2   
        Resolution:  invalid        |      Keywords:        
             Stage:  Accepted       |     Has_patch:  1     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  1              |  
------------------------------------+---------------------------------------
Changes (by timo):

  * status:  assigned => closed
  * resolution:  => invalid

Comment:

 Actually this is documented correctly.  The default for form fields is
 False, but the default for model fields is True.

 {{{
 >>> from django.db import models
 >>> models.URLField().validators
 [<django.core.validators.MaxLengthValidator object at 0x27d34d0>,
 <django.core.validators.URLValidator object at 0x27d3510>]
 <django.core.validators.URLValidator object at 0x27d3490>
 >>> models.URLField().validators[1].verify_exists
 True
 }}}

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