Skip to content

djangodocs

Django 5.2
  • 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
  • Svenska
  • 简体中文
  • Gaeilge
  • Français
  • 日本語
  • Bahasa Indonesia
  • Italiano
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django 문서
  • 시작하기
  • Django 사용하기
    • Django 설치하는 법
    • 모델과 데이터베이스
      • 모델
      • 쿼리 만들기
      • Aggregation
      • 검색
      • Managers
      • Performing raw SQL queries
      • 데이터베이스 트랜잭션
      • Multiple databases
      • 테이블스페이스
      • 데이터베이스 접근 최적화
      • Database instrumentation
      • 픽스처
      • Examples of model relationship API usage
        • Many-to-many relationships
        • Many-to-one relationships
        • One-to-one relationships
    • Handling HTTP requests
    • 폼을 사용하여 작업하기
    • 템플릿
    • Class-based views
    • 마이그레이션
    • 파일 관리하기
    • Testing in Django
    • Django에서의 사용자 증명
    • Django의 캐시 프레임워크
    • Conditional View Processing
    • Composite primary keys
    • Cryptographic signing
    • 이메일 보내기
    • 국제화와 현지화
    • 로깅
    • 페이지네이션
    • Security in Django
    • 성능과 최적화
    • Serializing Django objects
    • Django settings
    • 시그널
    • 시스템 점검 프레임워크
    • 외부 패키지
    • 비동기 지원
  • How-to guides
  • 장고 자주묻는 질문
  • API 레퍼런스
  • 메타 문서 및 기타
  • 용어
  • Release notes
  • Django internals
Korean translation. Untranslated passages appear in English. 18.3% Help translate
  1. Django 5.2
  2. Django 사용하기
  3. 모델과 데이터베이스

Examples of model relationship API usageLink to this heading#

  • Many-to-many relationships
  • Many-to-one relationships
  • One-to-one relationships

This page as Markdown JSON

Edit this page on GitHub Official version

Previous픽스처 NextMany-to-many relationships

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