lino.management.commands.prep

initdb_demo
prep

Calls initdb using the application's lino.core.site.Site.demo_fixtures.

Introduction see Your first local Lino project.

(This module's source code is available here.)

Classes

Command([stdout, stderr, no_color, force_color])

Flushes the database and loads the default demo fixtures.

class lino.management.commands.prep.Command(stdout=None, stderr=None, no_color=False, force_color=False)

Bases: lino.management.commands.initdb.Command

Flushes the database and loads the default demo fixtures.