----- "Paul Waldo" <[email protected]> wrote:
>
> Hi all,
>
> I'm writing an app where most of my functionality is straight Admin pages.
> When viewing the detail page for an object, I can select the "View on site"
> button. This will take me to some custom processing, but when this is done, I
> want to go back to that original Admin page where I can edit the object. How
> might I get the URL of this edit page? Obviously not as simple as using a URL
> from Admin's urls.py... Thanks in advance!
>
> Paul
>
FYI, here is what I am doing now:
return HttpResponseRedirect('/admin/invoice/invoice/%s/' % object_id)
This works, but pretty ugly...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---