On Mon, Sep 28, 2009 at 4:30 AM, J <jobce...@gmail.com> 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: "Transaction", which has a foreign key to > "Account", and I want to define an admin action that will set all the > selected records in the "Transaction" model to a specific "Account". > > One idea I had was to have different actions: "Set to account 1", "Set > to account 2", but I'm having trouble creating these admin actions > dynamically.
When do you want your "dynamic actions" take place? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---