Ticket #3931: typo-form-doctests.diff

File typo-form-doctests.diff, 633 bytes (added by Jorge Gajon <gajon@…>, 18 years ago)

Typo in doctests of newforms

  • tests/regressiontests/forms/tests.py

     
    14551455>>> f.clean('http://www.google.com') # This will fail if there's no Internet connection
    14561456u'http://www.google.com'
    14571457
    1458 EmailField also access min_length and max_length parameters, for convenience.
     1458URLField also access min_length and max_length parameters, for convenience.
    14591459>>> f = URLField(min_length=15, max_length=20)
    14601460>>> f.clean('http://f.com')
    14611461Traceback (most recent call last):
Back to Top