[Fixed]-How to set "simple" password in Django 1.9

26👍

Tune your AUTH_PASSWORD_VALIDATORS setting by removing the django.contrib.auth.password_validation.CommonPasswordValidator out there.

Password validation is a new feature introduced in Django 1.9.

4👍

Django 1.9 introduced password validators so this is what you’re seeing, you can disable them in the settings.py but its not a good idea to do so.

You should heed its advice and set a stronger password!

See the documentation on Password Validation

If you do want to get around this, you can by doing it in a shell (or by writing your own management command) but I do not recommend this (read above)

from django.contrib.auth.models import User
User.objects.create_superuser('name', 'email', 'password')
👤Sayse

Leave a comment