diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eb39997..b7f174c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: PYTHONPATH: . strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] services: postgres: image: postgres:14-alpine diff --git a/.gitignore b/.gitignore index 501ec8ae..e930d45c 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,7 @@ db.sqlite3-journal staticfiles/ images/ original_images/ +avatar_images/ # Flask stuff: instance/ diff --git a/config/settings.py b/config/settings.py index b92e87ca..1573550b 100644 --- a/config/settings.py +++ b/config/settings.py @@ -217,6 +217,8 @@ ("footer", "Menu en pied de page"), ) +WAGTAILIMAGES_EXTENSIONS = ["gif", "jpg", "jpeg", "png", "webp", "svg"] + CSRF_TRUSTED_ORIGINS = [] for host in ALLOWED_HOSTS: CSRF_TRUSTED_ORIGINS.append("https://" + host)