Tag: makemigrations table doesn’t exist

django make migrations error. – table doesn’t exist

django app 에서 makemigrations 했을때, 테이블이 없다는 오류메시지가 나올때 처리방법. (venv) D:\Python_Project\ipchaser\ipchaser>manage.py makemigrations chaser Traceback (most recent call last): File “D:\Python_Project\ipchaser\venv\lib\site-packages\django\db\backends\utils.py”, line 86, in _execute return self.cursor.execute(sql, params) File “D:\Python_Project\ipchaser\venv\lib\site-packages\django\db\backends\mysql\base.py”, line 74, in execute return self.cursor.execute(query, args) File “D:\Python_Project\ipchaser\venv\lib\site-packages\MySQLdb\cursors.py”, line 209, in execute res = self._query(query) File “D:\Python_Project\ipchaser\venv\lib\site-packages\MySQLdb\cursors.py”, line 315, in _query db.query(q) File “D:\Python_Project\ipchaser\venv\lib\site-packages\MySQLdb\connections.py”, …

Continue reading