##// END OF EJS Templates
Made post image use url as a string in admin site
neko259 -
r812:4507f9f3 default
parent child Browse files
Show More
@@ -57,3 +57,6 b' class PostImage(models.Model):'
57 self.hash = md5.hexdigest()
57 self.hash = md5.hexdigest()
58 super(PostImage, self).save(*args, **kwargs)
58 super(PostImage, self).save(*args, **kwargs)
59
59
60 def __str__(self):
61 return self.image.url
62
General Comments 0
You need to be logged in to leave comments. Login now