10 lines
188 B
Python
10 lines
188 B
Python
|
from app import app
|
||
|
|
||
|
@app.context_processor
|
||
|
def utilities_processor():
|
||
|
""" Add some utilities to render context """
|
||
|
return dict(
|
||
|
len=len,
|
||
|
enumerate=enumerate
|
||
|
)
|