mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-08 22:08:30 -06:00
Add page generation time to footer
This commit is contained in:
@@ -50,6 +50,10 @@ def create_app():
|
||||
db.session.add(current_user)
|
||||
db.session.commit()
|
||||
|
||||
@app.context_processor
|
||||
def inject():
|
||||
return dict(now=datetime.utcnow)
|
||||
|
||||
# CLI commands setup
|
||||
@app.shell_context_processor
|
||||
def shell_context():
|
||||
|
||||
Reference in New Issue
Block a user