Opened 16 years ago
Closed 16 years ago
#7807 closed (wontfix)
Length/max_length patch for oldforms.TextField
Reported by: | 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 |
Description
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)
Change History (2)
by , 16 years ago
Attachment: | oldforms-length.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Only security bugfixes in 0.96 and oldforms will be completely removed soon.