Created
July 31, 2013 15:26
-
-
Save theY4Kman/6122981 to your computer and use it in GitHub Desktop.
Default address/port for runserver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # runserver | |
| from django.core.management.commands import runserver | |
| runserver.BaseRunserverCommand.handle.im_func.func_defaults = ('0.0.0.0:5050',) | |
| # And runserver_plus | |
| from django_extensions.management.commands import runserver_plus | |
| runserver_plus.Command.handle.im_func.func_defaults = ('0.0.0.0:5050',) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment