Django Tutorial1 に以下のような記述がある。
If you want to change the server's IP, pass it along with the port. For example, to listen on all available public IPs (which is useful if you are running Vagrant or want to show off your work on other computers on the network), use:
$ python manage.py runserver 0:8000
WWWサーバのIPアドレスを指定して、サーバを動かすと書かれているのに驚いた。
サーバの動作と、WWWコンテンツを分離するとい考え方に驚いた。
0 件のコメント :
コメントを投稿