Django Model ForeignKey
2021. 1. 31. 19:27ㆍ파이썬/Django
생성할때는 객체를 넘여야 함
조회할때는 id값만 있어도 됨
'파이썬 > Django' 카테고리의 다른 글
Django Built-in template tags and filters for문 (0) | 2021.02.04 |
---|---|
Djang Admin widget 셋팅 (0) | 2021.02.04 |
Cannot assign "25": "Box.image" must be a "Image" instance. (0) | 2021.01.31 |
object has no attribute '_state' (0) | 2021.01.31 |
Django __init__() takes 1 positional argument but 2 were given (0) | 2021.01.31 |