read csv1 Python - Error Cheat sheets Python - Error Cheat Sheets You are trying to add a non-nullable field 'account_nm' to stocksingleacount without a default; we can't do that (the database needs something to populate existing rows). makemigrations 를 이용하여 모델 스키마를 수정하려 할 때 발생하는 NULL 설정 에러이다 추가되는 컬럼에 NULL =True 해주거나 Default = '' 값을 지정해주면 된다 익숙해지기 전까지는 절대 DB 시스템에서 drop하거나 alter 하지말자 1. 기존모델을 수정 (종속성 구조도 같이수정 admin.py, views.py) 2. p.. 2019. 6. 27. 이전 1 다음