﻿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
34616	Incorrect code example in 5.0 release notes	David Smith	Christopher Cave-Ayland	"The 5.0 release notes have a code example of a form and its fields being written in Django Template Language. 

However the example shows `field.label` being used. This would give the field's label this world be ""name"", in the line linked below.

Instead I believe this example should use `field.label_tag` which would give ` <label ...>name:</label>`. This is closer to what the template is actually doing. 

https://github.com/django/django/blob/main/docs/releases/5.0.txt#L62

https://github.com/django/django/blob/main/django/forms/templates/django/forms/field.html#L5"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Accepted	1	0	0	0	1	0
