Skip to content

Commit 2fcb84c

Browse files
committed
Remove legacy approach
1 parent b4d0a0f commit 2fcb84c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qfdmd/models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ def get_etats_descriptions(self) -> tuple[str, str] | None:
326326

327327
@property
328328
def carte_settings(self):
329-
# TODO : gérer plusieurs catégories ici
330329
sous_categories = self.sous_categories.filter(afficher_carte=True).all()
331330
settings_querydict = QueryDict(mutable=True)
332331

@@ -338,8 +337,6 @@ def carte_settings(self):
338337
"direction": "jai",
339338
"first_dir": "jai",
340339
"limit": 25,
341-
"sc_id": sous_categories.first().id,
342-
"sous_categorie_objet": sous_categories.first().libelle,
343340
}
344341
)
345342

0 commit comments

Comments
 (0)