Opened 16 years ago

Closed 16 years ago

#7807 closed (wontfix)

Length/max_length patch for oldforms.TextField

Reported by: masneyb@… Owned by: nobody
Component: Uncategorized Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Version 0.96 of Django's db.models.fields.CharField uses oldforms.TextField. The length argument cannot be specified and it is always set to 30 characters, even if the maximum number of characters is fewer. This issue was causing some layout problems for me when editing items inline. This patch will truncate the length field if it is greater than max_length. Let me know if there is a better way to fix this.

Attachments (1)

oldforms-length.patch (761 bytes ) - added by masneyb@… 16 years ago.

Download all attachments as: .zip

Change History (2)

by masneyb@…, 16 years ago

Attachment: oldforms-length.patch added

comment:1 by dc, 16 years ago

Resolution: wontfix
Status: newclosed

Only security bugfixes in 0.96 and oldforms will be completely removed soon.

Note: See TracTickets for help on using tickets.
Back to Top