updated to modul etichete

This commit is contained in:
2025-04-30 11:57:48 +03:00
parent e6878495a1
commit 56f3f8805d
7 changed files with 48 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ def create_app():
db.init_app(app)
from .routes import bp
app.register_blueprint(bp)
from app.routes import bp as main_bp
app.register_blueprint(main_bp, url_prefix='/')
# Add 'now' function to Jinja2 globals
app.jinja_env.globals['now'] = datetime.now