def forwards(apps, schema_editor):
 (user, created) = User.objects.get_or_create(username=USERNAME, email=EMAIL)
 if created:
  user.set_unusable_password()
  user.save()

def forwards ( apps , schema_editor ) : ( user , created ) = User . objects . get_or_create ( username = USERNAME , email = EMAIL ) if created : user . set_unusable_password ( ) user . save ( )
add the service user .