Default widgets and formfields in dbfields
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
What shall I do when I want to have dbfield with another default formfield and/or widget?
- Use arguments formfield and/or widget in the constructor of the dbield.
- Use argument formfield (directly for formfield or indirectly for widget) in the constructor of the dbield.
- Create custom dbfield with overwritten method formfield_for_dbfield.
- Do something else.
- Don't to it.
What is the right method? I hope that 1 or at least 2. And I would like to create patch for them.