Skip to content

Commit

Permalink
Divers correctifs
Browse files Browse the repository at this point in the history
  • Loading branch information
Noethys committed Nov 29, 2024
1 parent a710b72 commit 4b67137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noethysweb/consommations/utils/utils_impression_conso.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def CreationSautPage():
largeur = 55

# Agrandit si évènements à afficher
if dictUnites[IDunite].type == "Evenement" and (self.dict_donnees["afficher_evenements"] or self.dict_donnees["afficher_questions_evenements"]) and self.dict_donnees["largeur_colonne_unite"] == "automatique":
if IDunite in dictUnites and dictUnites[IDunite].type == "Evenement" and (self.dict_donnees["afficher_evenements"] or self.dict_donnees["afficher_questions_evenements"]) and self.dict_donnees["largeur_colonne_unite"] == "automatique":
largeur += 30

# Agrandit si étiquettes à afficher
Expand Down
2 changes: 1 addition & 1 deletion noethysweb/noethysweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# DIVERS
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
AUTH_USER_MODEL = 'core.Utilisateur'
DUREE_VALIDITE_MDP = 60*60*48
DUREE_VALIDITE_MDP = 60*60*168
CORRECTEUR_JOURS_RETROACTION = 30
PURGE_HISTORIQUE_JOURS = 365
ATTRIBUTION_TARIF_FRATERIE_AINES = True
Expand Down

0 comments on commit 4b67137

Please sign in to comment.