0Pricing
Django Academy · 강의

배포 체크리스트 실행

manage.py check --deploy로 설정을 점검합니다

배포 체크리스트 실행은(는) CoddyKit의 무료 Django Academy 강의입니다. 이것은 4개 중 4번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Django Academy 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Django Academy 강의에는 총 4개의 강의가 포함되어 있습니다.

이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.

One Command to Audit Everything

Django ships a built-in security auditor. The deployment checklist scans your settings and warns you about anything unsafe before launch day. ✅

Run check --deploy

Run the check command with the deploy flag. It activates extra security checks that normal checks skip, printing warnings you can act on.

python manage.py check --deploy

Reading the Warnings

Each warning has a code like security.W008 and a clear message. Use the code to look up exactly which setting to fix in the docs.

Check the Right Settings

Point the checker at your production config, not your dev one. Set DJANGO_SETTINGS_MODULE so it audits the file that will actually run live.

DJANGO_SETTINGS_MODULE=config.settings.prod python manage.py check --deploy

It Flags DEBUG

If DEBUG is still True, the check shouts about it. A live site with DEBUG on leaks tracebacks and settings, so this is a hard stop.

It Flags Insecure Cookies

The checklist warns when SESSION_COOKIE_SECURE or CSRF_COOKIE_SECURE is off, reminding you to keep auth cookies on HTTPS only.

It Flags Missing HSTS

A zero SECURE_HSTS_SECONDS or missing SSL redirect triggers warnings too. The check nudges you toward forcing encrypted connections everywhere.

Silencing False Positives

A few warnings may not fit your setup. You can quiet specific ones with SILENCED_SYSTEM_CHECKS, but only after you truly understand each.

SILENCED_SYSTEM_CHECKS = ["security.W004"]

Make It Fail the Build

Treat warnings as errors in CI by adding --fail-level. Now a risky setting breaks the pipeline instead of slipping into production.

python manage.py check --deploy --fail-level WARNING

Make It a Habit

Run the checklist on every release, not just the first. New apps and settings can quietly reintroduce risks the audit will catch for you.

Pair It With Other Checks

The deploy check is one layer. Run your tests and collectstatic in the same release step so code, assets, and security all get verified together.

Quick Check

Last question of the lesson, then a recap.

Recap: Ship With Confidence

You learned to run check --deploy, read its warning codes, point it at prod settings, and even fail CI on risk. Audit every release and ship with confidence. 🚀

자주 묻는 질문

“배포 체크리스트 실행” 강의는 무료인가요?

네 — “배포 체크리스트 실행” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Django Academy 강의 전체를 잠금 해제할 수 있습니다. Django Academy 강의에는 총 4개의 강의가 포함되어 있습니다.

“배포 체크리스트 실행”에서 뭘 배우나요?

manage.py check --deploy로 설정을 점검합니다 브라우저에서 직접 실행하는 실습 코드로 Django Academy을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.

Django Academy을(를) 시작하는 데 경험이 필요한가요?

사전 경험은 필요하지 않습니다. CoddyKit의 Django Academy은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 4번째 강의입니다.

“배포 체크리스트 실행” 강의는 얼마나 걸리나요?

대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.

이 Django Academy 강의에서 코드를 작성하고 실행할 수 있나요?

네. 모든 Django Academy 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.

이 강의의 모든 강의

  1. DEBUG, SECRET_KEY 및 ALLOWED_HOSTS
  2. HTTPS, HSTS 및 보안 쿠키
  3. XSS, CSRF 및 SQL 삽입 방어
  4. 배포 체크리스트 실행
← Django Academy(으)로 돌아가기