Django의 버그 처리
1194 단어 테크니컬
BUG
When I run this shell code, it will showed this error tips:
mysqlclient 1.3.13 or newer is required; you have 0.9.3.
solve
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
# query = query.decode(errors='replace')
query = query.decode(errors='replace')
Coding
Create django models
INSTALLED_APPS = [
'polls.apps.PollsConfig',
]
> python manage.py makemigrations polls
> python manage.py migrate
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
golang에서 대상 방법을 함수 지침으로 삼다누드 함수 를 지침 으로 삼는 것 은 그리 신기한 일 이 아니다. 다른 언어 도 괜찮다. 골롱 도 당연히 가능하다. 예를 들면 그러나 아래와 같이 대상의 실례적인 방법은 함수 매개 변수로 전달될 수 있습니까? 답은 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.