I can never remember this snippet and I found myself duckduckgoing for it a few times, so I wanted to write it down somewhere where I can easily find it (and maybe it will help people looking for it, since I can never reliably find it in search engines).
To start Django's shell:
./manage.py shell
And to make a user a superuser:
from django.contrib.auth.models import User user = User.objects.get(email='me@example.org') user.is_superuser = True user.save()