Hello, 

I use django rest framework to make API server. DRF catches some Django 
exceptions and transforms them in JSON. However some exceptions, like 404, 
are still returned as Django pages (at least it works that way on my 
machine). How can I wrap all exceptions in JSON from any library? I'm 
working on mobile app and I can't debug html dumps from Django in console 
:( 

Am I missing something important?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d40d4630-e01b-4416-83bd-16a20ac1c161%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to