Mise a jour: Integration de toutes les suggestions passées
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,16 +1,4 @@
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
# Generated by Django 5.2.13 on 2026-06-16 11:06
|
||||
=======
|
||||
# Generated by Django 5.2.13 on 2026-04-17 12:03
|
||||
>>>>>>> 0047b1f (Ajout de la prise en charge des photos de profil)
|
||||
=======
|
||||
# Generated by Django 5.2.13 on 2026-04-17 12:03
|
||||
>>>>>>> f6b90e7 (Verification du statut avant la creation d'un contrat)
|
||||
=======
|
||||
# Generated by Django 5.2.13 on 2026-04-17 12:03
|
||||
>>>>>>> 6026af5 (Bug : Affichages des conges)
|
||||
# Generated by Django 5.2.13 on 2026-09-01 10:51
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from datetime import datetime
|
||||
import datetime
|
||||
from decimal import Decimal, InvalidOperation
|
||||
|
||||
from django.contrib import messages
|
||||
@@ -92,7 +92,7 @@ def index(request):
|
||||
'nombre_personnel': nombre_personnel,
|
||||
'budget_total': budget_total,
|
||||
'formulaire_creation_projet': ProjetForm(),
|
||||
'projet_en_cours': Projet.objects.filter(date_fin__gte=datetime.date.today()).count(),
|
||||
'projet_en_cours': Projet.objects.filter(date_fin__gte=datetime.datetime.now(tz=datetime.timezone.utc).date()).count(),
|
||||
}
|
||||
|
||||
return render(request, 'gestion_projet/index.html', context)
|
||||
|
||||
Reference in New Issue
Block a user