"Django 모델명-테이블명 컨벤션"의 두 판 사이의 차이

3번째 줄: 3번째 줄:


{| class='wikitable'
{| class='wikitable'
! 앱 이름<ref>apps.py에 기입한 name</ref> !! 모델명 !! 테이블명
! 앱 이름<ref>[[apps.py]]에 기입한 name</ref> !! 모델명 !! 테이블명
|-
|-
| polls || Question || polls_question
| polls || Question || polls_question

2020년 9월 20일 (일) 14:15 판

1 개요

Django 모델명-테이블명 컨벤션
앱 이름[1] 모델명 테이블명
polls Question polls_question
polls Choice polls_choice
myapp Person myapp_person
django_celery_results TaskResult django_celery_results_taskresult

2 같이 보기

3 참고

  1. apps.py에 기입한 name
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}