Friday, May 28, 2010

Admin: issues in saving an object in popup

In the Admin application I can create related objects 'on the fly' in
a popup (e.g. when changing a User I can create Groups by pressing the
green 'plus' next to the Group list): this is done adding '_popup=1'
to the url used in the popup (e.g. "/admin/auth/group/add/?_popup=1").
The 'Save' button in this popup updates the main page and closes the
popup.

I tried to do the same for inspecting a related object (e.g. inspect a
Group while changing a User), so I opened a popup on "/admin/auth/
group/1/?_popup=1" and the form was correctly displayed with no
header.

The problem is that after pressing the 'Save' button the popup isn't
closed but it is redirected to the object list (I think that a correct
behaviour is to update the Group in the User Group list and close the
window).

Is this a bug?
Is there any other solution?

Thank you

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate