django-admin runserver [addrport]
Starts a lightweight Web server for development and also serves static files
Arguments
Name | Description |
---|
addrport | Optional port number, or ipaddr:port |
Options
Name | Description |
---|
--ipv6, -6 | Tells Django to use an IPv6 address |
--nothreading | Tells Django to NOT use threading |
--noreload | Tells Django to NOT use the auto-reloader |
--nostatic | Tells Django to NOT automatically serve static files at STATIC_URL |
--insecure | Allows serving static files even if DEBUG is False |
-h, --help | Show this help message and exit |
--version | Show 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" |
--traceback | Raise on CommandError exceptions |
--no-color | Don't colorize the command output |
--force-color | Force colorization of the command output |