i have found it. just use form.error.
On Mar 28, 5:18 pm, ihome wrote:
> Hi,
>
> My form always gets is_valid() as False. Some validation is wrong.
>
> Is there any error message I could dump from form or form.cleaned_data
> to understand why is_valid() is always false?
>
> thanks.
--~--~---
thanks! this is exactly what i need.
On Mar 14, 12:04 pm, Alex Gaynor wrote:
> On Sat, Mar 14, 2009 at 11:02 AM, ihome wrote:
>
> > is there an easy way to control the precision for float values? for
> > example, i have this in my template:
>
> >
>
> > where float p = 0.1234123413 but i only w
thanks for the info. I'll track the ticket. for now, I just convert
the values to a dict and pass it over to my template.
On Mar 14, 12:27 am, Malcolm Tredinnick
wrote:
> On Fri, 2009-03-13 at 21:08 -0700, ihome wrote:
> > Hi,
>
> > I am using the latest django development version and have some
On Mar 14, 12:08 am, ihome wrote:
> Hi,
>
> I am using the latest django development version and have some problem
> with the render_to_response to render a template. Here is a short
> snippet:
>
> return render_to_response('index.html', {
> 'form': form,
> 'ops' : ops,
>
4 matches
Mail list logo