rpkilby / jsonfield

A reusable Django model field for storing ad-hoc JSON data
MIT License
1.16k stars 271 forks source link

Remove help text from form field #247

Closed rpkilby closed 4 years ago

rpkilby commented 4 years ago

The current implementation where the form field sets the default help text does not work, as the model field's formfield() will always provide its own default value, even if an empty string.

There isn't really a good solution here, so I think the best option is to just remove the help_text, as no builtin Django fields provide their own help_text (i.e., help_text should always be supplied by the user, not the field).

Fixes #95.