简体   繁体   English

django 项目中的用户错误密码认证失败

[英]password authentication failed for user error in django project

django.db.utils.OperationalError: FATAL: password authentication failed for user 'admin'

please help I am new to django, this is my first project, I'm getting this error when i try to run migration and runserver.请帮助我是 django 的新手,这是我的第一个项目,当我尝试运行迁移和运行服务器时出现此错误。

Did you set the admin password?您是否设置了admin密码?

$ python manage.py createsuperuser

Reference: https://docs.djangoproject.com/en/1.8/intro/tutorial02/参考: https://docs.djangoproject.com/en/1.8/intro/tutorial02/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM