Maybe something like
python manage.py shell -c "from django.contrib.auth.hashers import
make_password;from django.contrib.auth.models import User; admin =
User(username='username', email='exam...@example.com',
password=make_password('password'),
is_superuser=True,is_staff=True);admin.save()"
El
I have a register page in my django app and I am using djoser for the end
point to create and users etc, when I register with an email ending in .com
(e.g. gmail.com) it works but when I enter an email ending with .co.za it
does not work
--
You received this message because you are subscribed
2 matches
Mail list logo