1👍
✅
What version of python and django?
It looks like it was a bug fixed in http://forum.jetbrains.com/thread/PyCharm-2221
0👍
Goto : PyCharm > Tools > Run django Console >
from django.contrib.auth.models import User
User.objects.create_superuser(username='yourUsername', password='YourPassword', email='your@email.PK')
Cheers !
- [Answer]-Django How to iterate over list returned from ldap to save new object
- [Answer]-How to get the same date result from Model.objects.create and Model.objects.get in Django?
- [Answer]-Grouping JSON data from DJango QuerySet
- [Answer]-Cannot run "python manage.py runserver"
Source:stackexchange.com