Running the development server

Launching the default development server is very simple; in fact, it takes only a single line of code:

python manage.py runserver 0.0.0.0:8000

The 0.0.0.0:8000 parameter will tell Django to serve the website to all addresses at port 8000.

In your host machine, you can now launch your favorite browser and go to http://localhost:8000 to see your site:

The look of the site is decent, isn't it? 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.37.86