Formulaire de contact avec rate limiting simple #48

This commit is contained in:
Colin Maudry
2025-09-29 19:32:15 +02:00
parent 1d21cbb69d
commit 928f75f504
4 changed files with 15 additions and 22 deletions
+1 -10
View File
@@ -77,7 +77,7 @@ app.layout = html.Div(
page["name"], href=page["relative_path"], className="nav"
)
for page in page_registry.values()
if page["name"] not in ["Acheteur", "Fournisseur"]
if page["name"] not in ["Acheteur", "Titulaire"]
]
),
],
@@ -86,15 +86,6 @@ app.layout = html.Div(
page_container,
]
)
# @callback(
# Output(component_id="table", component_property="data", allow_duplicate=True),
# Input(component_id="search", component_property="value"),
# prevent_initial_call=True,
# )
# def global_search(text):
# new_df = df
# new_df = new_df.filter(pl.col("objet").str.contains("(?i)" + text))
# return new_df.to_dicts()
if __name__ == "__main__":
app.run(debug=True)