django-admin collectstatic

Collect static files in a single location

Options

NameDescription
--noinput, --no-inputDo NOT prompt the user for input of any kind
--no-post-processDo NOT post process collected files
-i, --ignore <PATTERN>Ignore files or directories matching this glob-style pattern. Use multiple times to ignore more
-n, --dry-runDo everything except modify the filesystem
-c, --clearClear the existing files using the storage before trying to copy or link the original file
-l, --linkCreate a symbolic link to each file instead of copying
--no-default-ignoreDon't ignore the common private glob-style patterns (defaults to 'CVS', '.*' and '*~')
--skip-checksSkip system checks
-h, --helpShow this help message and exit
--versionShow program's version number and exit
-v, --verbosity <{0,1,2,3}>Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
--settings <SETTINGS>The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used
--pythonpath <PYTHONPATH>A directory to add to the Python path, e.g. "/home/djangoprojects/myproject"
--tracebackRaise on CommandError exceptions
--no-colorDon't colorize the command output
--force-colorForce colorization of the command output