#18358: 1.3 ModelForm documentation lists TextField as field type - not present
in
1.3 code
-------------------------------+-----------------------
Reporter: martwine@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.3
Severity: Normal | Keywords: ModelForm
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+-----------------------
1.3 !ModelForm documentation
(https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/)
lists !TextField as field type. !TextField does not exist as a field type
in 1.3 codebase at django/forms/forms.py
from django.forms import !TextField
!ImportError: cannot import name !TextFIeld
[This omission in the code may cause issues for some cases (e.g. if you
have model !CharField which you wish to render as a Textarea in your form,
but also need to define e.g. alternative label - in this case class Meta:
widgets... won't work)]
Not sure if the 1.3 documentation is ahead of time or out of date!
--
Ticket URL: <https://code.djangoproject.com/ticket/18358>
Django <https://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.