#15728: 1.3 release notes should mention snafu regarding model form help_text
formatting
-----------------------------------------+-----------------------------
Reporter: dchandek | Owner: nobody
Type: Uncategorized | Status: reopened
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
-----------------------------------------+-----------------------------
Changes (by dchandek):
* status: closed => reopened
* resolution: invalid =>
* type: => Uncategorized
* severity: => Normal
Comment:
I did not mean to imply that the feature *should* have been in Django
1.2.5; the main points are: the 1.3 release notes do not mention the
change; and, the doc currently on the site is, I'm afraid, wrong regarding
help_text rendering.
The doc shows the f.as_table() printing help_text this way:
{{{
<br />A valid email address, please.
}}}
See
http://code.djangoproject.com/browser/django/trunk/docs/ref/forms/fields.txt#L217.
However, the source code from 1.3 clearly shows the <span> wrapper -- see
http://code.djangoproject.com/browser/django/tags/releases/1.3/django/forms/forms.py#L216
-- and the documentation was fixed in r15396. I don't know how these
changes get applied to the live site, I'm just trying to help out here.
(I originally referred specifically to *model* forms, but both Form and
ModelForm classes inherit the behavior from BaseForm.)
--
Ticket URL: <http://code.djangoproject.com/ticket/15728#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.