bash script Django superuser oluşturmak. bash script createsuperuser

Django 249 views Markdown

Django projenizde yeni super kullanıcı oluşturmak için bash script veya terminalde aşağıdaki kodu çalıştırabilirsiniz.

 

echo "from django.contrib.auth.models import User; User.objects.create_superuser('yedekadmin', '', 'PAROLA')" | python3.6 manage.py shell
Was this helpful?

Thanks for your feedback!

Still Need Help?

The support team is here around the clock for anything you can't find in the knowledge base.