def load_choices(self): self.user.choices = UserService.get_choices("id", "name")
def load_choices(self): u_choices = UserService.get_choices("id", "name") self.owner.choices = u_choices self.users.choices = u_choices self.roles.choices = RoleService.get_choices("id", "name")
def load_choices(self): self.account_role.choices = AccountService.get_account_role_choices() self.user.choices = UserService.get_choices("id", "name")