django / django-contrib-comments

BSD 3-Clause "New" or "Revised" License
614 stars 196 forks source link

Patch to better handle bad comment content types #178

Closed sgkasselau closed 2 years ago

sgkasselau commented 2 years ago

Fixed an issue with handling bad comment content types seen in the wild.

(The old behaviour raised a LookupError, and caused a 500 status code instead of the intended 400.)

claudep commented 2 years ago

Thanks for your contribution!