Issue with Django-forms: 'WSGIRequest' object has no attribute 'get'
问题 I am getting this error in the Django debug-view: 'WSGIRequest' object has no attribute 'get' This is for a login-script, which most of is copied from the admin-code, mostly for practice/tweaking-reasons. The code I have, in views.py, is following: @sensitive_post_parameters() @csrf_protect @never_cache def login(request, template_name="main/login.html", authentication_form=LoginForm, redirect_field_name=REDIRECT_FIELD_NAME, current_app=None, extra_context=None): """ Displays the login form