You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The markup field on ThreadedCommentForm's is not required. I've created a form with just {{ form.comment }} and the markup defaults to plaintext (which is imho the expected behavior).
My advice is to change the docs to reflect the form's actual behavior rather than requiring markup.
You can find examples in the documentation links below:
(...)
_markup: _required* The type of markup that the comment is using. This may be easily overridden in a subclass to become a HiddenInput, if the user is not to be given a choice of markup options.*
The following fields deal with the actual content of the comment itself:
(...)
:markup [IntegerField]: required The format of the comment. Values may be MARKDOWN, TEXTILE, REST, PLAINTEXT. This can be used for display
purposes when deciding how to format the comment for viewing.
The text was updated successfully, but these errors were encountered:
The markup field on ThreadedCommentForm's is not required. I've created a form with just
{{ form.comment }}
and the markup defaults to plaintext (which is imho the expected behavior).My advice is to change the docs to reflect the form's actual behavior rather than requiring markup.
You can find examples in the documentation links below:
API Documentation (http://tinyurl.com/django-tc-docs1)
More documentation (http://tinyurl.com/django-tc-docs2)
The text was updated successfully, but these errors were encountered: