Manage static files

Report a typo

Below there's the beginning of the settings.py file. Let's say we decided to add some style, images, and videos to the project.

Do you remember how to manage static and media files in Django? Update the settings with the corresponding values.

Write a program in Python 3
from pathlib import Path
import os

BASE_DIR = Path(__file__).resolve().parent.parent
# some other settings
# your code here
___

Create a free account to access the full topic