Better error handling for API
parent
308fe85e3a
commit
fef2391c76
|
@ -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
|
# Extensions
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
INSTALLED_APPS += ('django_extensions',)
|
INSTALLED_APPS += ('django_extensions',)
|
||||||
|
|
Loading…
Reference in New Issue