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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/tGPqbtqGIdcJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to