Jsonview

0 views
Skip to first unread message

Bonny Nolder

unread,
Jan 21, 2024, 7:01:47 AM1/21/24
to liechancommge

Http404

  • PermissionDenied
  • HttpResponseNotAllowed (e.g. require_GET, require_POST)
  • jsonview.exceptions.BadRequest (see below)
  • Any other exception (logged to django.request).
Any of these exceptions will return the correct status code (i.e., 404,403, 405, 400, 500) a Content-Type of application/json, and aresponse body that looks like:

jsonview


Download Ziphttps://t.co/aMkw85WzTH



df19127ead
Reply all
Reply to author
Forward
0 new messages