Skip to content

djangodocs

Django 2.1
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
  • 1.11 unsupported
한국어
  • English
  • 简体中文
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django 문서
  • 시작하기
  • Django 사용하기
    • Django 설치하는 법
    • 모델과 데이터베이스
      • 모델
      • 쿼리 만들기
      • Aggregation
      • 검색
      • Managers
      • Performing raw SQL queries
      • 데이터베이스 트랜잭션
      • Multiple databases
      • 테이블스페이스
      • Database access optimization
      • Database instrumentation
      • Examples of model relationship API usage
    • Handling HTTP requests
    • 폼과 함께 작업하기
    • 템플릿
    • Class-based views
    • 마이그레이션
    • Managing files
    • Testing in Django
    • Django에서의 사용자 증명
    • Django의 캐시 프레임워크
    • Conditional View Processing
    • Cryptographic signing
    • 이메일 보내기
    • 국제화와 현지화
    • 로깅
    • 페이지네이션
    • Security in Django
    • 성능과 최적화
    • Serializing Django objects
    • Django settings
    • Signals
    • 시스템 점검 프레임워크
    • 외부 패키지
  • “How-to” 가이드
  • 장고 자주묻는 질문
  • API Reference
  • 메타 문서 및 기타
  • 용어
  • Release notes
  • Django internals
Django 2.1 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Korean translation. Untranslated passages appear in English. 22.2% Help translate
  1. Django 2.1
  2. Django 사용하기

모델과 데이터베이스Link to this heading#

A model is the single, definitive source of data about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table.

  • 모델
  • 쿼리 만들기
  • Aggregation
  • 검색
  • Managers
  • Performing raw SQL queries
  • 데이터베이스 트랜잭션
  • Multiple databases
  • 테이블스페이스
  • Database access optimization
  • Database instrumentation
  • Examples of model relationship API usage
View as Markdown Edit this page on GitHub Official version
PreviousDjango 설치하는 법 Next모델

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright