Ticket #3281: fields.diff
File fields.diff, 470 bytes (added by , 18 years ago) |
---|
-
django/newforms/fields.py
288 288 289 289 def clean(self, value): 290 290 value = RegexField.clean(self, value) 291 if not self.required and value == u'': 292 return value 291 293 if self.verify_exists: 292 294 import urllib2 293 295 from django.conf import settings