Opened 18 years ago
Closed 18 years ago
#4967 closed (duplicate)
newforms: use default of model for initial of widget
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | densetsu.no.ero.sennin@… | Triage Stage: | Accepted |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Here is a small patch to use the default value of
a field of the model as initial for the widget.
Attachments (1)
Change History (4)
by , 18 years ago
| Attachment: | newforms_models_defaults.diff added |
|---|
comment:1 by , 18 years ago
comment:2 by , 18 years ago
| Cc: | added |
|---|
comment:3 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Triage Stage: | Unreviewed → Accepted |
duplicate of #899 which has a working patch with doctests.
Note:
See TracTickets
for help on using tickets.
#5238 was a duplicate.