new view, gnome extension

This commit is contained in:
buenosairesam
2025-12-19 20:18:38 -03:00
parent 58348eab82
commit 38f3c7a711
10 changed files with 945 additions and 1 deletions

View File

@@ -9,4 +9,12 @@ def create_app():
app.debug = True
app.register_blueprint(dm.dmbp)
# Register custom Jinja2 filters
@app.template_filter('hash')
def hash_filter(s):
"""Return hash of string for consistent color generation"""
if s is None:
return 0
return hash(str(s))
return app