﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5654	possible error in newforms documentation	django@…	nobody	"I am a django newbie but I think I have noticed a possible error in your documentation on this page:

http://www.djangoproject.com/documentation/0.96/newforms/

When I have a forms object, f, and want to print it as f.as_p() I get the following error:

{{{

Request Method:  	GET
Request URL: 	http://127.0.0.1:8000/tradestats/MainCountryCorrelations/
Exception Type: 	TemplateSyntaxError
Exception Value: 	Could not parse the remainder: ()
Exception Location: 	/var/lib/python-support/python2.5/django/template/__init__.py in __init__, line 558
}}}


However, calling it without the parentheses (i.e. ""f.as_p"") I get the output I want. This is also true of .as_ul() and .as_table(). The documention always has the parentheses, so I'm guessing this is an error in the documentation.

Hope this helps you. (I'm really liking the framework by the way.)

~daveZ"		closed	Documentation	0.96		invalid	newforms		Unreviewed	0	0	0	0	0	0
