django_sorcery.management.commands.sorcery_history module

History command.

django_sorcery.management.commands.sorcery_history.Command

alias of django_sorcery.management.commands.sorcery_history.History

class django_sorcery.management.commands.sorcery_history.History(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: django_sorcery.management.alembic.AlembicCommand

Display alembic revisions.

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(app_label=None, rev_range=None, verbosity=0, **kwargs)[source]

The actual logic of the command. Subclasses must implement this method.

help = 'Display alembic revisions'
print_history(appconfigs, verbose, base, head)[source]

Prints alembic revision history.