Ticket #16548: image_field_super.diff

File image_field_super.diff, 666 bytes (added by pyriku, 13 years ago)
  • django/db/models/fields/files.py

     
    322322
    323323    def __init__(self, verbose_name=None, name=None, width_field=None, height_field=None, **kwargs):
    324324        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)
    326326
    327327    def contribute_to_class(self, cls, name):
    328328        super(ImageField, self).contribute_to_class(cls, name)
Back to Top