Ticket #10404: wherror.diff
File wherror.diff, 844 bytes (added by , 16 years ago) |
---|
-
tests/modeltests/model_forms/models.py
112 112 return '%s/%s' % (path, filename) 113 113 114 114 description = models.CharField(max_length=20) 115 width = models.IntegerField(editable=False) 116 height = models.IntegerField(editable=False) 115 117 image = models.ImageField(storage=temp_storage, upload_to=custom_upload_path, 116 118 width_field='width', height_field='height') 117 width = models.IntegerField(editable=False)118 height = models.IntegerField(editable=False)119 119 path = models.CharField(max_length=16, blank=True, default='') 120 120 121 121 def __unicode__(self):