Launching Django’s development server
After activating the virtual environment, you can run the below command to start the server.
python manage.py runserver
Sharing the screenshot below.
Designing a RESTful API to interact with SQLite database
In this chapter, we will create Django API views for HTTP requests and will discuss how Django and Django REST framework process each HTTP request.
- Creating Django Views
- Routing URLs to Django views and functions
- Launching Django’s development server
- Making HTTP requests using the command-line tool
- Making HTTP requests with Postman