我有一个Django Saleor应用程序,它试图让默认的Django管理界面在这里工作,但是在/ admin /TemplateDoesNotExist/错误处得到一个TemplateDoesNotExist/django/contrib/auth/templates/admin/login.html (Source does not exis
我得到一个错误:
登录/ TemplateDoesNotExist / /TemplateDoesNotExist/login.html.我想我应该创建login.html文件,但在Django中可能不需要默认的beahivor。我在帐户/模板/帐户中放置login.html后,出现错误: not disappeared.What I do next?我在urls.py o
from django.contrib.auth.forms import AuthenticationForm
AuthenticationForm.base_fields['username'].max_lengthdjango.contrib.admin.forms.AdminAuthenticationFormdjango.contrib.auth.views.logindjango.contrib.auth.views.login.form即使最后呈现函数<