mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-18 16:38:59 +00:00
Use Alpine and the API for SAS picture upload
This commit is contained in:
1 parent
b83fbf91e1
commit
13f417ba30
6 files changed
+52
-152
No files matched your search
@@ -740,8 +740,9 @@ Welcome to the wiki page!
|
||||
size=file.size,
|
||||
)
|
||||
pict.file.name = p.name
|
||||
pict.clean()
|
||||
pict.full_clean()
|
||||
pict.generate_thumbnails()
|
||||
pict.save()
|
||||
|
||||
img_skia = Picture.objects.get(name="skia.jpg")
|
||||
img_sli = Picture.objects.get(name="sli.jpg")
|
||||
|
||||
Reference in new issue
Block a user