On 26-6-2012 11:15, ledzgio wrote:
> Hi,
> 
> I have a problemi with the admin page. In my admin page I have 3 fields 
> that refers to the same table called Team: when I want to add a new Team by 
> pressint the green "+" button, the popoup shows up and I can fill the form 
> and adding a new Team. When I click save, the pop up disappears and I have 
> the new value close to the "+" button I have pressed upon. But the problem 
> is that the other fields that refers to the table Team in the page are 
> empty, so I have to refresh the page in order to see the just added Team 
> show. 
> 
> How can I fix this behavior?

You can't. You should fix your models or use an InlineAdminModel. It
sounds like you're duplicating fields from the foreign key table Team in
other parts of the model.
Either that, or you're using both an InlineAdminModel and have the
foreign key available in admin model.

Without seeing the model definitions and the admin model definitions, we
can only guess.

-- 
Melvyn Sopacua


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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