#14094: Cannot define CharField with unlimited length
-------------------------------------+--------------------------------------
Reporter: millerdev | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: 1.2
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by rfugger):
You can subclass CharField to get rid of max_length, like in this snippet:
http://djangosnippets.org/snippets/2328/
Alternatively, you can subclass TextField to override the form fields it
generates by default so you don't get big textareas.
--
Ticket URL: <http://code.djangoproject.com/ticket/14094#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.