Commit a53ed45ed2af9523736f1a7302c58df78b06d40a
1 parent
4c5c5d00
Add file field for support images as comment
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | ... | @@ -9,6 +9,9 @@ from .abstracts import ( |
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | class Comment(CommentAbstractModel): |
| 12 | + # Sofisis add this field for support images as comment | |
| 13 | + image = models.FileField(_('Image'), upload_to='comments/%Y/%m/', null=True, blank=True) | |
| 14 | + | |
| 12 | 15 | class Meta(CommentAbstractModel.Meta): |
| 13 | 16 | db_table = "django_comments" |
| 14 | 17 | ... | ... |
Please
register
or
login
to post a comment