Ticket #5123: 5833 ImageField formfield.patch
File 5833 ImageField formfield.patch, 442 bytes (added by , 17 years ago) |
---|
-
db/models/fields/__init__.py
845 845 846 846 def formfield(self, **kwargs): 847 847 defaults = {'form_class': forms.ImageField} 848 defaults.update(kwargs) 848 849 return super(ImageField, self).formfield(**defaults) 849 850 850 851 class IntegerField(Field):