Add the Image

In Django, to serve static files, you'll need to place the image in a directory that Django can access.

Follow these steps to add and serve the image properly:

Step 1: Move Figure.jpg to the Static Folder

1. Create a folder named static in the root of your project (e.g., C:\Users\Nooshin\djangotutorial\static).

2. Move the image Figure.jpg to the static folder.

Step 2: Ensure Static Files are Served Properly

In your settings.py, ensure that STATIC_URL is set properly:

STATIC_URL = '/static/'

This ensures that Django can access the static files from the correct location.