Hi all,
I have the following configuration:
models.py
http://dpaste.org/9q79R/admin.py
http://dpaste.org/w7CCD/In admin I will get a select where for each player I can select (or add a new one) PlayerAttribute object. With the onetoone relation I have one PlayerAttribute for one Player but in the admin every player can choose one PlayerAttribute from the previously added. WHat I want is that if I add a new PlayerAttribute (from the Player admin panel), that PlayerAttribute is only associated with that player, so if I add another Player I will not able to choose the previously added PlayerAttribute but I can just add a new one (or choosing an older PlayerAttribute associated to that player).
How can I do that?
thanks