On 4/20/06, bradford <[EMAIL PROTECTED]> wrote:
> I have two models:  Foo and Bar.  Bar contains a FK to Foo.
>
> In the admin, when the admin looks at one of the Foo records, I want
> them to be able to clear all Bar records that contain a FK to the Foo
> record that's being used.  How can I add a button to the Foo admin view
> that will allow me to do this?  Also, any tips on how to implement
> that?

Hi Bradford,

The admin site doesn't support doing that sort of thing at the moment,
but if you want to implement it, you'd just have to write a standard
Django view with the admin look-and-feel.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.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