The localserver
command explained¶
Essentially the localserver
command is Django's native runserver
disguised with some specific settings. It runs with the IP address 0.0.0.0
on port 80
with ALLOWED_HOSTS having '*'
as a value, in case it wasn't already there.
The code, specifically, looks like this;
1 2 3 |
|