django_sorcery.management.commands.sorcery_createall module

CreateAll command.

django_sorcery.management.commands.sorcery_createall.Command

alias of django_sorcery.management.commands.sorcery_createall.CreateAll

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

Bases: django.core.management.base.BaseCommand

Creates db schema using metadata.create_all.

add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **kwargs)[source]

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

help = 'Creates SQLAlchemy database schemas'