본문 바로가기
개발공부/Python

Django model / python manage.py makemigrations error

by 맙소사 2021. 9. 15.

Django model 설정에서 기존의 model을 수정할 경우 벌어지는 일 중 하나.

 

You are trying to add a non-nullable field 'name_eng' to menu without a default; 

we can't do that (the database needs something to populate existing rows).

 

'개발공부 > Python' 카테고리의 다른 글

Python의 id 함수  (0) 2022.03.08
Django CRUD 더 알아보기  (0) 2021.09.15
gitignore 관련  (0) 2021.09.12
Django의 Migration  (0) 2021.08.26
Django의 Model Field  (0) 2021.08.26

댓글