On Mon, 2006-08-21 at 08:12 +0800, Russell Keith-Magee wrote:
>         And it works as expected except I can only edit the "prey"
>         part of the
>         relationship. Ideally I'd like to be able to specify both
>         predator and
>         prey when adding or editing an animal. Is that possible to do?
> 
> It should be possible. The m2m_recursive modeltests should give an
> example of what you can do.
> 
> To help diagnose your problem - what exactly is failing? Where error
> message are you getting?

I think there is no error message. If I understood James correctly, the
animal edit form displays a list of preys of currently edited animal,
while James would like to edit both sets: preys and predators.

More graphically, James sees:

---------------------------
Editing Animal
Animal name: Frog
...
Preys:
[v] Fly
[v] Mosquito
[ ] Stork
---------------------------

While he wants to see:

---------------------------
Editing Animal
Animal name: Frog
...
Preys:
[v] Fly
[v] Mosquito
[ ] Stork

Predators:
[ ] Fly
[ ] Mosquito
[v] Stork
---------------------------


-- 
Maciej Bliziński
http://automatthias.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to