From fef2391c76ea1f3c558c920f1457df5a905345cd Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Fri, 14 Sep 2012 09:47:16 -0400 Subject: [PATCH] Better error handling for API --- settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings.py b/settings.py index 8d8c802..1d5a2fb 100644 --- a/settings.py +++ b/settings.py @@ -228,6 +228,9 @@ else: }, } +# API +TASTYPIE_CANNED_ERROR = "There was an error with your request. The site developers have a record of this error, please email api@snipt.net and we'll help you out." + # Extensions if DEBUG: INSTALLED_APPS += ('django_extensions',)