Move display image to Note

This commit is contained in:
Alexandre Iooss 2019-07-16 15:22:38 +02:00
parent 89cedd18f1
commit 9a35b8f9e0
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
2 changed files with 22 additions and 18 deletions

View file

@ -29,6 +29,11 @@ class Note(models.Model):
'Unselect this instead of deleting notes.'
),
)
display_image = models.ImageField(
verbose_name=_('display image'),
max_length=255,
blank=True,
)
class Meta:
verbose_name = _("note")