#29912: Make CharField/TextField remove newlines from input
-------------------------------------+-------------------------------------
Reporter: Jakub Kleň | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Forms | Version: 2.1
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jakub Kleň):
As a temporary solution, I implemented this change in {{{
django.forms.widgets.Input.value_from_datadict }}} as I think that's the
right place for it. Seems like it's widget related to me, it's the widget
that doesn't support newlines, and the implementation was really simple. I
would be really happy to also see this change in Django.
I also started a discussion for this here:
[https://groups.google.com/forum/#!topic/django-developers/w0lJf1KT1Gc]
--
Ticket URL: <https://code.djangoproject.com/ticket/29912#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.2a86a34b5cd571d2730edd0924da84f1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.