Commands

Tip

Use the -h or --help option for any command for help.

General Commands

manage <command> [options]

Execute a Django management command.

django_logikal.manage.run[options]

Start the Django development web server.

Management Commands

manage generate [options]

Generate static files.

Note

Requires the static extra.

manage syncdb [options]

Synchronize the local database.

Clear the public schema, apply migrations and insert local application data.

Note

Requires pytest-logikal[django] to be installed.

Note

Local data must be specified in the local_data.py submodule of a given application in classes inheriting from LocalData.

class django_logikal.local_data.LocalData

Base class for local data insertion.

abstract static insert() None

Tip

We recommend using factory_boy’s DjangoModelFactory for generating synthetic data. By registering the factories in your tests (via pytest-factoryboy) you can use the same synthetic data for local development and testing.

manage translate [options]

Manage translation message catalogs.