Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Django
- 조맹크로키
- 마이그레이트
- 마이그레이션
- ValueError
- TemplateSyntaxError
- pip install --upgrade pip
- scotty
- 조맹클래스101
- junny
- navbar
- 오류
- 크로키
- error
- 취미미술
- bootstrap4
- 블린이
- 알리
- ModuleNotFoundError
- include
- Python
- Uncaught SyntaxError
- You should consider upgrading
- JavaScript
- Migrate
Archives
- Today
- Total
내가 하고 싶은 것들 중 하나
[django 에러 해결] ValueError 본문
문제상황
마이그레이션과 마이그레이트 시도 중에
마이그레이션은 성공 했으나 마이그레이트는 되지 않고 ValueError가 떴다.
ValueError: The field admin.LogEntry.user was declared with a lazy reference to 'accounts.account', but app 'accounts' doesn't provide model 'account'.
해결과정
마이그레이션 파일과 데이터베이스를 지우고 다시 마이그레이트를 해보니 성공했다는 내용
나도 그렇게 했다.
성공!
'웹 세상 > django' 카테고리의 다른 글
Unable to import (0) | 2020.06.30 |
---|---|
[django] base.html에서 부트스트랩 사용하기 (0) | 2020.05.17 |
Model 설정할 때 NameError가 뜬다면? (0) | 2020.05.06 |
jquery 다운받아 사용하기 (0) | 2020.05.05 |
pip install --upgrade pip (0) | 2020.05.04 |
Comments