Help_text for models
|Reported by:||Berislav Lopac||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.4-alpha-1|
|Cc:||lemaire.adrien@…||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It would be useful if models would have a help_text attribute, similar to the one on fields. It would best be a Meta class attribute, but accessible globally from the model. It would be used by admin interface as well as ModelForm to show default information/instructions about the model.
I'd write that myself but I'm currently extremely short of time, so I'm putting it here for future reference and inspiration. Occasionally I have used the model's docstring for this purpose, but it's not as simple to internationalize.