Opened 17 years ago

Closed 17 years ago

#4967 closed (duplicate)

newforms: use default of model for initial of widget

Reported by: Thomas Güttler <hv@…> 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)

newforms_models_defaults.diff (1.3 KB ) - added by Thomas Güttler <hv@…> 17 years ago.

Download all attachments as: .zip

Change History (4)

by Thomas Güttler <hv@…>, 17 years ago

comment:1 by Adrian Holovaty, 17 years ago

#5238 was a duplicate.

comment:2 by Densetsu no Ero-sennin <densetsu.no.ero.sennin@…>, 17 years ago

Cc: densetsu.no.ero.sennin@… added

comment:3 by Philippe Raoult, 17 years ago

Resolution: duplicate
Status: newclosed
Triage Stage: UnreviewedAccepted

duplicate of #899 which has a working patch with doctests.

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