Previous topic

settings module

Next topic

base package

This Page

manage module

Set of some useful management commands, based on script extension (flask.ext.Manager)

A set of scripts, based on script extension that you may find useful.

Amount of commands will constantly grow. By now, there are:

Command Result
runserver Runs the Flask development server i.e. app.run()
shell Runs interactive shell, ipython if installed
init_data Creates some demo DB-tables and data
clean_pyc Removes all file:*.pyc files from the project folder

Todo

Add assets managements, as described in flask.ext.assets.management-command

copyright:(c) 2012 by Roman Semirook.
copyright:(c) 2014 by Michelle Baert.
license:BSD, see LICENSE for more details.
manage.clean_pyc()[source]

Removes all *.pyc files from the project folder

manage.init_data()[source]

Fish data for project

manage.manager = <flask_script.Manager object at 0x4a63a50>

The Manager object from the script extension