解决Django连接db遇到的问题
1、django.db.utils.ConnectionDoesNotExist: The connection default doesn’t exist 解决:第一个连接的命名一定要是default,将EN5Test改为default即可 2、django.core.exceptions.ImproperlyConfigured Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODUL
用户评论