Skip to content

Instantly share code, notes, and snippets.

###ORM COMMANDS DJANGO

python manage.py shell

from app.models import Class

####CREATE SUPERUSER ON DJANGO from django.contrib.auth.models import User

user = User.objects.create_superuser('john', '[email protected]', 'johnpassword')

``