diff --git a/.vscode/launch.json b/.vscode/launch.json index c722280..692c408 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,7 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { "type": "python", "request": "launch", @@ -13,7 +14,6 @@ "args": [ "-v", "development.ini", - "--reload" ], "console": "integratedTerminal", "debugOptions": [ diff --git a/mondumas/models/agenda.py b/mondumas/models/agenda.py index 3c44edc..6a2353a 100644 --- a/mondumas/models/agenda.py +++ b/mondumas/models/agenda.py @@ -23,7 +23,7 @@ def execute_query(request, query, params): def get_users_agenda(request, user): if user == '': """ lire la liste des users ayant un agenda""" - query = "SELECT * FROM p_users WHERE cd_uti != 'N' and cd_uti = agenda AND actif != 0 ORDER BY nom;" + query = "SELECT * FROM p_users WHERE cd_uti = agenda AND actif != 0 ORDER BY nom;" results = request.dbsession.execute(query).fetchall() else: """ lire le user ayant un agenda""" diff --git a/mondumas/templates/default/home.pt b/mondumas/templates/default/home.pt index 33725e0..6a680ff 100644 --- a/mondumas/templates/default/home.pt +++ b/mondumas/templates/default/home.pt @@ -23,7 +23,7 @@ RDF À VALIDER : ${nb_rdf} - s +