Sunday, January 17, 2010

Re: NoReverseMatch:

Thank you Lan, I am pretty new to the Django.

How do I know its needs an argument? which file will have that, is
that in URL.py?

On Jan 17, 12:30 am, Ian Lewis <ianmle...@gmail.com> wrote:
> Bhaskar,
>
> The error means that there is either no defined URL called
> 'tellfriend' or it requires some kind of argument, like a user id, to
> generate the URL.
>
> Having two separate forms with different actions is no problem. Fixing
> the URL reversing should clear up your issue.
>
> Ian
>
>
>
>
>
> On Sunday, January 17, 2010, Bhaskar Gara <bacch...@gmail.com> wrote:
> > Caught an exception while rendering: Reverse for 'tellfriend' with
> > arguments '()' and keyword arguments '{}' not found.
>
> > <form method="post" action="{% url tellfriend %}">
>
> > I have a html template which has two form
>
> > My form1 action is empty and form 2 action is as above. I am
> > getting error @ that line.
>
> > 1) What is the meaning of the error ?
> > 2) How can I call two different fucntion in views.py from the same
> > HTML form action.
>
> > Thank you
> > Bhaskar
>
> --
> =======================================
> 株式会社ビープラウド イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> =======================================- Hide quoted text -
>
> - Show quoted text -

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate