diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dcf94a9c..b97e9f7a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: args: [--py312] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.2.2' + rev: 'v0.3.2' hooks: - id: ruff args: ["--fix"] diff --git a/website/wsgi.py b/website/wsgi.py index 8740abba..6286b512 100644 --- a/website/wsgi.py +++ b/website/wsgi.py @@ -6,6 +6,7 @@ For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ + import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "website.settings.prod")