일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- error
- 블린이
- 취미미술
- Django
- bootstrap4
- 오류
- navbar
- JavaScript
- 마이그레이트
- pip install --upgrade pip
- You should consider upgrading
- ValueError
- TemplateSyntaxError
- include
- ModuleNotFoundError
- 마이그레이션
- junny
- Uncaught SyntaxError
- 알리
- scotty
- 크로키
- Python
- 조맹클래스101
- 조맹크로키
- Migrate
- Today
- Total
목록Django (3)
내가 하고 싶은 것들 중 하나
문제상황 마이그레이션과 마이그레이트 시도 중에 마이그레이션은 성공 했으나 마이그레이트는 되지 않고 ValueError가 떴다. ValueError: The field admin.LogEntry.user was declared with a lazy reference to 'accounts.account', but app 'accounts' doesn't provide model 'account'. 해결과정 https://stackoverflow.com/questions/50324561/valueerror-the-field-admin-logentry-user-was-declared-with-a-lazy-reference 마이그레이션 파일과 데이터베이스를 지우..

문제상황 큰 문제까지는 아니었고 마크다운을 설치하다가 pip 버전을 upgrade 하라는 메시지가 나왔다. WARNING: You are using pip version 20.0.2; however, version 20.1 is available. You should consider upgrading via the 'c:\venvs\mysite\scripts\python.exe -m pip install --upgrade pip' command. (mysite) c:\projects\mysite 가상환경에 있었는데 c:\venvs\mysite\scripts\python.exe 주소로 들어가서 업그레이드 명령어를 써야 하나 고민했었다. 해결과정 (mysite) c:\projects\mysit..

TemplateSyntaxError at /community/ 'bootstrap4' is not a registered tag library. Must be one of: admin_list admin_modify admin_static ... 문제 상황 python manage.py runserver 런서버를 했는데 비쥬얼스튜디오 터미널 창에 ``ModuleNotFoundError: No module named 'bootstrap4' `이라고 떴다. 그리고 url도 뜨지 않는다. 해결 과정 구글링하면서 필요한 코드들을 입력해봤다. python -m pip install bootstrap4 bootstrap4를 설치하고 런서버를 하니까 이제 서버는 뜨는데 community/로 들어가면 templates..