这是我尝试使用会话request.session['user'] = user时遇到的错误
ImproperlyConfigured at /registration/
settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
这是view.py函数,在这里我得到了错误
@csrf_exempt
@require_POST
def registration(request):
for