Compare commits
5 Commits
ecc59a6c8c
...
a5aff5ff21
Author | SHA1 | Date |
---|---|---|
Emmy D'Anello | a5aff5ff21 | |
Emmy D'Anello | 196dbc8275 | |
Emmy D'Anello | 0847e5a308 | |
Emmy D'Anello | e5aa3ef059 | |
Emmy D'Anello | e1b4e1bb6b |
|
@ -3,7 +3,8 @@ FROM python:3.13-alpine
|
||||||
ENV PYTHONUNBUFFERED 1
|
ENV PYTHONUNBUFFERED 1
|
||||||
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
|
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
|
||||||
|
|
||||||
RUN apk add --no-cache gettext nginx gcc git libc-dev libffi-dev libxml2-dev libxslt-dev npm postgresql-dev libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra
|
RUN apk add --no-cache gettext nginx gcc git libc-dev libffi-dev libpq-dev libxml2-dev libxslt-dev \
|
||||||
|
npm libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra
|
||||||
|
|
||||||
RUN apk add --no-cache bash
|
RUN apk add --no-cache bash
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ gunicorn~=23.0.0
|
||||||
odfpy~=1.4.1
|
odfpy~=1.4.1
|
||||||
pandas~=2.2.3
|
pandas~=2.2.3
|
||||||
phonenumbers~=8.13.47
|
phonenumbers~=8.13.47
|
||||||
psycopg-binary~=3.2.3
|
psycopg~=3.2.3
|
||||||
pypdf~=5.0.1
|
pypdf~=5.0.1
|
||||||
ipython~=8.28.0
|
ipython~=8.28.0
|
||||||
python-magic~=0.4.27
|
python-magic~=0.4.27
|
||||||
|
|
|
@ -13,7 +13,7 @@ def tfjm_context(request):
|
||||||
'HAS_OBSERVER': settings.HAS_OBSERVER,
|
'HAS_OBSERVER': settings.HAS_OBSERVER,
|
||||||
'HAS_FINAL': settings.HAS_FINAL,
|
'HAS_FINAL': settings.HAS_FINAL,
|
||||||
'HOME_PAGE_LINK': settings.HOME_PAGE_LINK,
|
'HOME_PAGE_LINK': settings.HOME_PAGE_LINK,
|
||||||
'LOGO_PATH': "static/tfjm/img/" + settings.LOGO_FILE,
|
'LOGO_PATH': "tfjm/img/" + settings.LOGO_FILE,
|
||||||
'NB_ROUNDS': settings.NB_ROUNDS,
|
'NB_ROUNDS': settings.NB_ROUNDS,
|
||||||
'ML_MANAGEMENT': settings.ML_MANAGEMENT,
|
'ML_MANAGEMENT': settings.ML_MANAGEMENT,
|
||||||
'PAYMENT_MANAGEMENT': settings.PAYMENT_MANAGEMENT,
|
'PAYMENT_MANAGEMENT': settings.PAYMENT_MANAGEMENT,
|
||||||
|
|
|
@ -196,7 +196,14 @@ STATICFILES_DIRS = [
|
||||||
|
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
||||||
|
|
||||||
STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage'
|
STORAGES = {
|
||||||
|
"default": {
|
||||||
|
"BACKEND": "django.core.files.storage.FileSystemStorage",
|
||||||
|
},
|
||||||
|
'staticfiles': {
|
||||||
|
'BACKEND': 'pipeline.storage.PipelineStorage',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
STATICFILES_FINDERS = (
|
STATICFILES_FINDERS = (
|
||||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||||
|
@ -367,7 +374,7 @@ if TFJM_APP == "TFJM":
|
||||||
RULES_LINK = "https://tfjm.org/reglement"
|
RULES_LINK = "https://tfjm.org/reglement"
|
||||||
|
|
||||||
REGISTRATION_DATES = dict(
|
REGISTRATION_DATES = dict(
|
||||||
open=datetime.fromisoformat("2025-01-08T12:00:00+0100"),
|
open=datetime.fromisoformat("2025-01-15T12:00:00+0100"),
|
||||||
close=datetime.fromisoformat("2025-03-02T22:00:00+0100"),
|
close=datetime.fromisoformat("2025-03-02T22:00:00+0100"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue