Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.core.management.base import BaseCommand
- from django.contrib.auth import get_user_model
- class Command(BaseCommand):
- help = 'Echoes AWS Creds'
- def handle(self, *args, **options):
- get_user_model().objects.create_superuser(username='your_user', password='your_password', email='user@example.com')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement