profile picture update view is working
This commit is contained in:
parent
c4198a64af
commit
fd74080ce3
6 changed files with 103 additions and 13 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue