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')
- Django: default language i18n
- How do I get the actual object id in a Django admin page (inside formfield_for_foreignkey)?
- Can Django run on Gunicorn alone (no Apache or nginx)?
Source:stackexchange.com