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


Groups > comp.lang.python > #18134

Re: reverse() is not working

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'django,': 0.07; 'python': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'am,': 0.12; 'list;': 0.16; 'subject:() ': 0.16; 'subject:reverse': 0.16; 'wrote:': 0.18; 'arguments': 0.18; 'working.': 0.18; 'trying': 0.21; 'subject:not': 0.21; 'asked': 0.22; 'header:In-Reply-To:1': 0.22; 'there.': 0.24; 'keyword': 0.24; 'posted': 0.25; 'code': 0.25; 'django': 0.26; 'thanks.': 0.26; "i'm": 0.26; 'function': 0.27; 'pass': 0.29; "skip:' 10": 0.29; 'error': 0.29; 'subject:working': 0.30; 'thanks': 0.31; 'header:User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'to:addr:python-list': 0.34; 'probably': 0.34; 'received:au': 0.36; 'question': 0.36; 'but': 0.37; 'list,': 0.37; 'another': 0.37; 'received:org': 0.38; 'getting': 0.38; 'mailing': 0.39; "it's": 0.40; 'to:addr:python.org': 0.40; 'your': 0.61; 'view': 0.65; 'transfer': 0.72; 'reverse': 0.73; 'received:110': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Lie Ryan <lie.1296@gmail.com>
Subject Re: reverse() is not working
Date Thu, 29 Dec 2011 05:37:08 +1100
References <20618381.643.1325095333260.JavaMail.geo-discussion-forums@prez5>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 110-175-240-90.static.tpgi.com.au
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
In-Reply-To <20618381.643.1325095333260.JavaMail.geo-discussion-forums@prez5>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4189.1325097450.27778.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1325097450 news.xs4all.nl 6974 [2001:888:2000:d::a6]:45234
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:18134

Show key headers only | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web