Wednesday, December 28, 2011

Re: reverse() is not working.

On Wednesday, 28 December 2011 18:43:06 UTC, Nirmal Kumar wrote:
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.

Your question is answered correctly at StackOverflow (not by me, for a change, but by moguzalp). If that's not working, you'll need to update that question with exactly what your view and urls.py look like now after following the advice in that answer.
--
DR. 

--
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/-/LCpn535gdKEJ.
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