1

Media url and root

In settings.py:

# Base url to serve media files
MEDIA_URL = '/media/'

# Path where media is stored
MEDIA_ROOT = BASE_DIR / 'media/'
269
Mohamed
El Firdoussi