Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18133 > unrolled thread

reverse() is not working

Started byNirmal Kumar <nirmaltech28@gmail.com>
First post2011-12-28 10:02 -0800
Last post2011-12-29 05:37 +1100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  reverse() is not working Nirmal Kumar <nirmaltech28@gmail.com> - 2011-12-28 10:02 -0800
    Re: reverse() is not working Lie Ryan <lie.1296@gmail.com> - 2011-12-29 05:37 +1100

#18133 — reverse() is not working

FromNirmal Kumar <nirmaltech28@gmail.com>
Date2011-12-28 10:02 -0800
Subjectreverse() is not working
Message-ID<20618381.643.1325095333260.JavaMail.geo-discussion-forums@prez5>
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.

[toc] | [next] | [standalone]


#18134

FromLie Ryan <lie.1296@gmail.com>
Date2011-12-29 05:37 +1100
Message-ID<mailman.4189.1325097450.27778.python-list@python.org>
In reply to#18133
On 12/29/2011 05:02 AM, 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.

Welcome to Python Mailing List; your question is about django, django 
have their own mailing list, your question is probably better asked there.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web