Django Management Commands¶
-
yaset.management.commands.create_local.
Command
¶ Creates the local_settings directory structure used by yaset. Will not over-write any existing files. Creates an empty “import_redirect” file if it does not exist. Optionally takes a list of profiles to create.
This command assumes the project root (i.e. where the settings.py is found) is “…/project/project” where the project base is defined in settings.BASE_DIR.