jazzband / django-tinymce

TinyMCE integration for Django
http://django-tinymce.readthedocs.org/
MIT License
1.25k stars 317 forks source link

Update usage.rst #436

Closed pabu closed 1 year ago

pabu commented 1 year ago

Defining the widget in the Meta class of this ModelForm instead of as a form field makes sure the resulting widget respects model attributes such as blank=True (which it would convert to required=False for the widget).

codecov[bot] commented 1 year ago

Codecov Report

Merging #436 (22b7240) into master (d43564c) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #436   +/-   ##
=======================================
  Coverage   90.14%   90.14%           
=======================================
  Files           6        6           
  Lines         284      284           
  Branches       50       50           
=======================================
  Hits          256      256           
  Misses         12       12           
  Partials       16       16           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more