1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

profile picture update view is working

This commit is contained in:
Pierre-antoine Comby
2020-03-04 16:34:12 +01:00
parent c4198a64af
commit fd74080ce3
6 changed files with 103 additions and 13 deletions

View File

@ -43,7 +43,8 @@ class Note(PolymorphicModel):
display_image = models.ImageField(
verbose_name=_('display image'),
max_length=255,
blank=True,
blank=False,
null=False,
default='pic/default.png'
)
created_at = models.DateTimeField(