Skip to content
Snippets Groups Projects

UI pro nastavení testovacích účtů

1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -87,6 +87,11 @@ def none_value(s: Any, none_value: Any) -> Any:
return none_value if s is None else s
@app.template_filter()
def yes_no(a: bool) -> str:
return "ano" if a else "ne"
@app.template_filter()
def json_pretty(js: Any) -> str:
return json.dumps(js, sort_keys=True, indent=4, ensure_ascii=False)
Loading