When accessing the game/end/ url, game_all_select_card_id requires 3 identifiable values, but we only defined 1 in model. We change the structure of model, include the 3 card_ids selected by the user in json format in game_all_select_card_id in the game table, and use json.loads() in views.py to parse the values.
When accessing the game/end/ url, game_all_select_card_id requires 3 identifiable values, but we only defined 1 in model. We change the structure of model, include the 3 card_ids selected by the user in json format in game_all_select_card_id in the game table, and use json.loads() in views.py to parse the values.