django_sorcery.management.commands.sorcery_current module¶
Current command.
-
django_sorcery.management.commands.sorcery_current.Command¶ alias of
django_sorcery.management.commands.sorcery_current.Current
-
class
django_sorcery.management.commands.sorcery_current.Current(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Bases:
django_sorcery.management.alembic.AlembicCommandShows current db revisions.
-
display_version(rev, context, verbose=False, appconfig=None)[source]¶ Displays the alembic revision.
-
handle(app_label=None, verbosity=0, **kwargs)[source]¶ The actual logic of the command. Subclasses must implement this method.
-
help= 'Show current db revisions'¶
-