Ticket #16548: image_field_super.diff
File image_field_super.diff, 666 bytes (added by , 13 years ago) |
---|
-
django/db/models/fields/files.py
322 322 323 323 def __init__(self, verbose_name=None, name=None, width_field=None, height_field=None, **kwargs): 324 324 self.width_field, self.height_field = width_field, height_field 325 FileField.__init__(self,verbose_name, name, **kwargs)325 super(ImageField, self).__init__(verbose_name, name, **kwargs) 326 326 327 327 def contribute_to_class(self, cls, name): 328 328 super(ImageField, self).contribute_to_class(cls, name)