Previous Page Next Page

Understanding the Django Development Server

Django comes with a lightweight development HTTP server that you can use to test your website while you are developing it. The great thing about the development server is that it is just there. After you install Django, you don't need to spend time trying to hook it into some other web server to test your code.

The development server works well for testing and uses few system resources. It should give you all the functionality you need to test your website.

Start the development server using the following command at the root of your Django project:

python manage.py runserver

By the Way

You can stop the development server by pressing Ctrl+Break or Ctrl+C.


Previous Page Next Page