Re: custom dynamic admin actions

2009-09-28 Thread J
Joshua Russo wrote: > It sounds like you just want defaults for your relationships. Is that > right? How are you determining which account to use? > No. I want admin actions at the top of my list similar to "Delete selected ..." so that I can select a bunch of records and set the foreign key for

Re: custom dynamic admin actions

2009-09-28 Thread Joshua Russo
It sounds like you just want defaults for your relationships. Is that right? How are you determining which account to use? On Mon, Sep 28, 2009 at 12:30 PM, J wrote: > > Joshua Russo wrote: > > When do you want your "dynamic actions" take place? > > > > I apoligize if I was unclear. I am referri

Re: custom dynamic admin actions

2009-09-28 Thread J
Joshua Russo wrote: > When do you want your "dynamic actions" take place? > I apoligize if I was unclear. I am referring to the admin actions that one can select from a select box at the top of lists in admin pages. It's described at http://docs.djangoproject.com/en/dev/ref/contrib/admin/action

Re: custom dynamic admin actions

2009-09-28 Thread Joshua Russo
On Mon, Sep 28, 2009 at 4:30 AM, J wrote: > > Hello, > > I need to add custom dynamic admin actions (based on records in a > related table), but I'm not entirely sure how to do this, as it's not > explained in the docs. > > Basically, I have two models: "T

custom dynamic admin actions

2009-09-27 Thread J
Hello, I need to add custom dynamic admin actions (based on records in a related table), but I'm not entirely sure how to do this, as it's not explained in the docs. Basically, I have two models: "Transaction", which has a foreign key to "Account", and I want to de