Closed Juknum closed 2 years ago
In GitLab by @sli on Jun 3, 2019, 24:16
Il faut aussi préciser la taille max du fichier.
Il faut aussi résoudre les conflits de git, petite astuce, met à jour ta branche master et tente un petit git rebase master
dans ta branche poster, Ă mon avis elle n'est pas Ă jour
In GitLab by @Cyl on Jun 3, 2019, 04:01
Et du coup c'est quoi la taille max d'un fichier. C'est ecrit quelque part ou faut testé ?
In GitLab by @sli on Jun 4, 2019, 15:53
Je dirais qu'il faut aller voir dans le code quelque part ici https://ae-dev.utbm.fr/ae/Sith/blob/pedagogy_v2/com/models.py#L250
C'est la valeur par défaut qui est utilisée pour un ImageField qui hérite sa taille de FileField, la doc est ici https://docs.djangoproject.com/fr/1.11/ref/models/fields/#filefield
Si il n'y a pas de taille par défaut, c'est à toi d'en mettre une directement dans le code puis en commentaire, amuse toi bien <3
In GitLab by @skia on Jun 4, 2019, 16:18
Y'a pas que ça, y'a aussi le client_max_body_size
de nginx Ă prendre en compte. Mais lui il devrait pouvoir ĂȘtre adaptĂ© Ă ce qu'accepte le Sith.
In GitLab by @Cyl on Jun 6, 2019, 13:28
added 27 commits
master
In GitLab by @skia on Jul 21, 2021, 15:38
@sli @Cyl do you think we could fix, merge, and deploy that? I'm trying to make some clean up in the MRs...
In GitLab by @skia on Sep 26, 2021, 14:07
added 313 commits
master
In GitLab by @skia on Sep 29, 2021, 16:01
added 18 commits
master
In GitLab by @skia on Sep 29, 2021, 16:02
approved this merge request
In GitLab by @skia on Sep 29, 2021, 16:02
enabled an automatic merge when the pipeline for 61a40c47d2598ea476f63f35a3c1d2517c525409 succeeds
In GitLab by @skia on Sep 29, 2021, 16:56
mentioned in commit 6c45de34a4d7de051d3963e64470dca324e43a40
In GitLab by @Cyl on May 31, 2019, 17:33
Merges poster -> master
undefined