This repository was archived by the owner on Nov 11, 2019. It is now read-only.
Add an additional parameter to the runserver command#297
Open
vinc456 wants to merge 1 commit intopyvideo:masterfrom
Open
Add an additional parameter to the runserver command#297vinc456 wants to merge 1 commit intopyvideo:masterfrom
vinc456 wants to merge 1 commit intopyvideo:masterfrom
Conversation
This caused me some grief during configuration. See http://www.holeintheceiling.com/blog/2012/06/21/django-and-runserver-0-0-0-0/ for more information.
Member
There was a problem hiding this comment.
Two things:
- this only applies in certain situations, so I'd mention that as a note and not change this example
- instead of putting in a bash comment, it's better to have explanation text as its own paragraph.
This instead of this change, I'd do something like this after the "Then point your browser ..." paragraph:
.. note::
Depending on how and where you're running runserver, you might need to specify
the ip address and port to bind to. You can provide those as an argument to
the runserver command. For example::
$ ./manage.py runserver 0.0.0.0:8000
will have runserver listen on all ip addresses at port 8000.
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This caused me some grief during configuration. See http://www.holeintheceiling.com/blog/2012/06/21/django-and-runserver-0-0-0-0/ for more information.