We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
具体在users/view.py下: class CustomBackend(ModelBackend): def authenticate(self, request, username=None, password=None, **kwargs):
改完以后就可以把settings中的30-35行放开注释了
# Application definition 注册我们的app # 设置邮箱和用户名均可登录 # AUTHENTICATION_BACKENDS = ( # 'users.views.CustomBackend', # # )
另:一个小bug是templates\org-list.html页面32行city.id应该是city_id
The text was updated successfully, but these errors were encountered:
非常感谢,确实这几个地方都存在问题,已经一一改正。
Sorry, something went wrong.
No branches or pull requests
具体在users/view.py下:
class CustomBackend(ModelBackend):
def authenticate(self, request, username=None, password=None, **kwargs):
改完以后就可以把settings中的30-35行放开注释了
另:一个小bug是templates\org-list.html页面32行city.id应该是city_id
The text was updated successfully, but these errors were encountered: