def django_superuser_creation(**kwargs):
    User = get_user_model()
    if (User.objects.filter(username=kwargs['username']).count() == 0):
        User.objects.create_superuser(**kwargs)
        print('[django] Superuser created.')
    else:
        print('[django] Superuser creation skipped.')
def django_superuser_creation(**kwargs):
    User = get_user_model()
    if (User.objects.filter(username=kwargs['username']).count() == 0):
        User.objects.create_superuser(**kwargs)
        print('[django] Superuser created.')
    else:
        print('[django] Superuser creation skipped.')