Register the flask pages CLI group
This commit is contained in:
1 parent
95425986d8
commit
f6a3b760fa
1 file changed
+4
@@ -110,6 +110,10 @@ def create_app(config_name='default'):
|
||||
from app.cli import register_cli
|
||||
register_cli(app)
|
||||
|
||||
# Page order tools (flask pages audit / fix / sort)
|
||||
from app.cli_pages import register_pages_cli
|
||||
register_pages_cli(app)
|
||||
|
||||
# Templates need to know whether to show owner-only links.
|
||||
@app.context_processor
|
||||
def inject_ownership():
|
||||
|
||||
Reference in new issue
Block a user