moo.shell.apps.ShellConfig
- class moo.shell.apps.ShellConfig(app_name, app_module)
- __init__(app_name, app_module)
Methods
__init__(app_name, app_module)create(entry)Factory that creates an app config from an entry in INSTALLED_APPS.
get_model(model_name[, require_ready])Return the model with the given case-insensitive model_name.
get_models([include_auto_created, ...])Return an iterable of models.
import_models()ready()Override this method in subclasses to run code when Django starts.
Attributes
default_auto_fieldname