On Monday, April 11, 2011 3:42:26 PM UTC+1, Antonio Sánchez wrote:
>
> http://docs.djangoproject.com/en/dev/topics/http/shortcuts/#redirect 
>
> "You can use the redirect() function in a number of ways. 
> 2. By passing the name of a view and optionally some positional or 
> keyword arguments; the URL will be reverse resolved using the 
> reverse() method" 
>
> I think it's possible, but i cant do it work! 
>
>
As that quote says, the view will be reverse resolved using the reverse() 
method. The reverse() method returns a URL, with the relevant parameters in 
that URL. That's the only way it can possibly work.
--
DR. 

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