Skip to content

Instantly share code, notes, and snippets.

@dublado
Created April 21, 2022 15:18
Show Gist options
  • Save dublado/f9a2b5ab96073dd7ce4371be46c8ecc4 to your computer and use it in GitHub Desktop.
Save dublado/f9a2b5ab96073dd7ce4371be46c8ecc4 to your computer and use it in GitHub Desktop.
django runserver port and addr
from django.core.management.commands.runserver import Command as runserver
runserver.default_port = "8008"
runserver.default_addr = "0.0.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment