-
명령줄에서 생성하기python manage.py createsuperuser 관리 쉘에 접속해서 생성하기from django.contrib.auth.models import UserUser.objects.create_superuser('admin', 'admin@example.com', 'yourpassword')