#32523: Warn when trying to use a widget as a field in a form
--------------------------------------------+------------------------
Reporter: Anders Hovmöller | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+------------------------
A common mistake beginners make is to import `django.forms.Textarea` and
trying to use that as a Field, even though it's a widget. The result of
doing this is just silence, so it's very difficult for the user to solve
this problem by themselves.
We see this problem often in the Django Discord.
--
Ticket URL: <https://code.djangoproject.com/ticket/32523>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.2c385989db57b5fccb0940feb7fce56e%40djangoproject.com.