Hello!

I need help!
In my project, I need authenticate user in a module and sends user to
previews page.

I was try so:

  url_to_redirect = request.get_full_path()
      return HttpResponseRedirect(reverse('users.views.add',
args=(url_to_redirect,)))

And in my view, users.views.add, I get the url_to_redirect, to sends the
user.
But a exception occurs: Reverse for '<function add at 0x019232F0>' with
arguments '(u'/links/adicionar/',)' and keyword arguments '{}' not found.

How can I do this?

Very thanks!

-- 
Atenciosamente,
Edgard Matos
E-mail: edgardma...@gmail.com
Skype: edgardmatos
Celular: 85 8837 8285

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