Compatibilité avec Django 5.2
This commit is contained in:
parent
32d63a0585
commit
17093ca420
3 changed files with 5 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
|||
|
||||
TIME_ZONE = 'Europe/Zurich'
|
||||
|
||||
LANGUAGE_CODE = 'fr'
|
||||
LANGUAGE_CODE = 'fr-ch'
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
Django~=4.2.0
|
||||
django~=5.2.0
|
||||
psycopg
|
||||
tabimport==0.5.1
|
||||
xlrd<2 # Required by tabimport
|
||||
openpyxl==3.1.2
|
||||
openpyxl==3.1.5
|
||||
reportlab
|
||||
django-summernote==0.8.20.0
|
||||
|
|
|
|||
|
|
@ -470,7 +470,7 @@ class ExpertEdeLetterPdf(CompensationForm, EpcBaseDocTemplate):
|
|||
"CPNE Pôle Santé et Social, rue Sophie-Mairet 29-31 - 2300 La Chaux-de-Fonds<br/><br/>"
|
||||
)
|
||||
self.story.append(Paragraph(date_text.format(
|
||||
date=django_format(exam_data['date_exam'], 'l j F Y à H\hi'),
|
||||
date=django_format(exam_data['date_exam'], r'l j F Y à H\hi'),
|
||||
salle=exam_data['room'],
|
||||
), style_bold_center))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue