Wednesday, December 28, 2011

reverse() is not working.

I am trying to pass the id to thanks view through reverse. But it's not working. I'm getting this error

Reverse for 'reg.views.thanks' with arguments '(20,)' and keyword arguments '{}' not found.

I posted the question with the code in stackoverflow:

http://stackoverflow.com/questions/8648196/reverse-is-not-working

How can I transfer arguments from one function to another in views?. Is it a normal thing or I have to use any built in functions?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/VF5fUs-Z2-wJ.
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.

No comments:

Post a Comment