Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
71504127fd
commit
c853973110
|
@ -390,8 +390,16 @@ means any Python code changes you make while the server is running will *not*
|
|||
take effect if the particular Python modules have already been loaded into
|
||||
memory.
|
||||
|
||||
Examples:
|
||||
~~~~~~~~~
|
||||
Examples of using different ports and addresses
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Port 8000 on IP address 127.0.0.1::
|
||||
|
||||
django-admin.py runserver
|
||||
|
||||
Port 8000 on IP address 1.2.3.4::
|
||||
|
||||
django-admin.py runserver 1.2.3.4:8000
|
||||
|
||||
Port 7000 on IP address 127.0.0.1::
|
||||
|
||||
|
|
Loading…
Reference in New Issue