Hi all,

I'm using a generic view to redirect from one URL to another:

urlpatterns += patterns('prj.app.views',
   (r'^foo/(?P<tail>.*)$', redirect_to, {'url': '/foo/bar/%(tail)s'}),
)

However, the URLs I want to redirect actually look like this:

http://localhost/foo/?param1=value1&param2=value2

This means that when redirecting the GET parameters will be lost,
which is not my intent.

Is there any way to maintain GET parameters with the "redirect_to"
generic view? Or will I have to implement my own view?

Thanks in advance.

Cheers,
Filipe

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

Reply via email to