Core: learn it Step 13 of 16 on the Backend Developer (Django) roadmap

Secure production settings

Turn DEBUG off, set ALLOWED_HOSTS, force HTTPS and mark cookies as secure. Run python manage.py check --deploy to catch anything you missed.

Resources

More in Security basics

See it on the Backend Developer (Django) roadmap