Better error handling for API

master
Nick Sergeant 2012-09-14 09:47:16 -04:00
parent 308fe85e3a
commit fef2391c76
1 changed files with 3 additions and 0 deletions

View File

@ -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',)