updated to modul etichete
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user