def reset_all_users():
 for user in User.objects.all():
  user.delete()

def reset_all_users ( ) : for user in User . objects . all ( ) : user . delete ( )
reset to a clean state by deleting all users .