On Mar 29, 10:08 am, Massimiliano della Rovere
<massimiliano.dellarov...@gmail.com> wrote:
> I am writing a two step admin action:
> 1) select the items you want to mass-modify and click the action
> 2) enter the values that will be processed for each selected item
> 3) finally go back to the item list page with a user_message informing
> her/him about the outcome.
>
> I am trying to create a template so that the page in line #2 will have
> the same layout as admin pages, and I "took" the basic page code from
> %djangopath%/django/contrib/admin/templates/admin/change_form.html
>
> How can I pass my view the context text data for breadcrumbs,
> apply/cancel buttons and so on?

I'm also looking to do something like this.  Simple actions do not
work here, as intermediate data (via a form in Step 2) is required; in
my case it's the same data for all items that needs to be added/
changed, along with the list of id's of selected items from Step 1.

Some pseudo or example code outlining such a process would be very
useful (and could be added to the wiki).

Derek

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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