Show More
@@ -211,8 +211,8 b' class Post(models.Model):' | |||
|
211 | 211 | text = MarkupField(default_markup_type=DEFAULT_MARKUP_TYPE, |
|
212 | 212 | escape_html=False) |
|
213 | 213 | |
|
214 | image_width = models.IntegerField() | |
|
215 | image_height = models.IntegerField() | |
|
214 | image_width = models.IntegerField(default=0) | |
|
215 | image_height = models.IntegerField(default=0) | |
|
216 | 216 | |
|
217 | 217 | image = thumbs.ImageWithThumbsField(upload_to=_update_image_filename, |
|
218 | 218 | blank=True, sizes=(IMAGE_THUMB_SIZE,), |
General Comments 0
You need to be logged in to leave comments.
Login now