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

crop,resized, and save picture at the right place

This commit is contained in:
Pierre-antoine Comby
2020-03-06 20:07:15 +01:00
parent 08b97e722b
commit 38feb693f3
3 changed files with 21 additions and 8 deletions

View File

@ -45,6 +45,7 @@ class Note(PolymorphicModel):
max_length=255,
blank=False,
null=False,
upload_to='pic/',
default='pic/default.png'
)
created_at = models.DateTimeField(