from django.contrib.auth.models import User user = User.objects.get(username='normaluser') user.is_superuser = True user.save()