Deployment Basics
Turn off debug, set hosts and collect static files.
Example
DEBUG = False
ALLOWED_HOSTS = ["example.com"]
STATIC_ROOT = BASE_DIR / "staticfiles"
# python manage.py collectstaticExercise
Collect.
manage.py static
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.