摘要:
使用2.2 版本的django时,出现django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.,查了资料才知道是兼容问题 出现此类问题 方法一可删除项目根 阅读全文
摘要:
代码: def login(request): if request.POST: username = request.POST.get('username') password = request.POST.get('password') user = auth.authenticate(user 阅读全文