Ticket #13613: db_fields.diff
File db_fields.diff, 695 bytes (added by , 14 years ago) |
---|
-
C:/django_versions/Django-1.2.1/django/db/models/fields/
old new 1104 1104 kwargs['max_length'] = kwargs.get('max_length', 200) 1105 1105 CharField.__init__(self, verbose_name, name, **kwargs) 1106 1106 self.validators.append(validators.URLValidator(verify_exists=verify_exists)) 1107 1107 1108 def formfield(self, **kwargs): 1109 defaults = {'form_class': forms.URLField} 1110 defaults.update(kwargs) 1111 return super(URLField, self).formfield(**defaults) 1112 1108 1113 class XMLField(TextField): 1109 1114 description = _("XML text") 1110 1115