python - django manage.py runserver error -
i'm trying make first django project, startproject runs fine when try runserver traceback error :
file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\f orms.py", line 269, in setpasswordform help_text=password_validation.password_validators_help_text_html()) file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\password_validation.py", line 85, in password_validators_help_text_html help_texts = password_validators_help_texts(password_validators) file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\password_validation.py", line 74, in password_validators_help_texts password_validators = get_default_password_validators() file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\utils\lru_cach e.py", line 101, in wrapper result = user_function(*args, **kwds) file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\p assword_validation.py", line 21, in get_default_password_validators return get_password_validators(settings.auth_password_validators) file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\p assword_validation.py", line 32, in get_password_validators validators.append(klass(**validator.get('options', {}))) file "c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\p assword_validation.py", line 164, in __init__ open(password_list_path) f: ioerror: [errno 2] no such file or directory: u'c:\\python27\\lib\\site-packages \\django-1.9-py2.7.egg\\django\\contrib\\auth\\common-passwords.txt.gz'
i'm @ wits end here, please help
your django 1.9 installation misssing common-passwords.txt.gz file.
try install pip install django-password-validation
seems required version. or put file manually c:\python27\lib\site-packages\django-1.9-py2.7.egg\django\contrib\auth\
Comments
Post a Comment