“django.core.exceptions.improperlyConfigured: MySQlClient 1.4.0 lub nowszy jest; Masz 0,10.1.” Kod odpowiedzi

django.core.exceptions.improperlyConfigured: MySQlClient 1.4.0 lub nowszy jest; Masz 0,10.1.

 #here is latest version of pymysql in mysqldb.
 #add this settings in settings file
 import pymysql
 pymysql.version_info = (1, 4, 6, 'final', 0)
 pymysql.install_as_MySQLdb()
Colorful Cockroach

Podnieś niewłaściwe skonfigurowane („MySQLClient 1.3.13 lub nowszy jest wymagany; masz % s.” % bazy danych .__ wersja__) django.core.exceptions.improperlyConfigured: MySQLClient 1.3.13 lub nowsze; masz 0.9.3.

import pymysql
pymysql.version_info = (1, 3, 13, "final", 0)
pymysql.install_as_MySQLdb()
Yucky Yak

Odpowiedzi podobne do “django.core.exceptions.improperlyConfigured: MySQlClient 1.4.0 lub nowszy jest; Masz 0,10.1.”

Pytania podobne do “django.core.exceptions.improperlyConfigured: MySQlClient 1.4.0 lub nowszy jest; Masz 0,10.1.”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu