Hello,

I wonder if there's an easy way to do the following (besides modifying
"contrib.admin.templates.admin.includes.fieldset.html"):
I have a model which uses django-workflows, so for each instance and every
user I can do:   get_allowed_transitions(obj,user), and
obtain a list of Transition objects.

What I'd like is to do is to populate a select list in the change_form  with
the list of transitions allowed for the object.

The tricky thing is that for this list to be calculated, the code needs
access to the current user.

Regards,

  Juan Pablo

-- 
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.

Reply via email to