Merge pull request #21 from Opalo/master

Updated settings.py to support xml and json response formats.
This commit is contained in:
Paul Hallett 2014-12-13 11:07:48 +00:00
commit 36ded07c24

View file

@ -124,4 +124,4 @@ INSTALLED_APPS = (
API_LIMIT_PER_PAGE = 1 API_LIMIT_PER_PAGE = 1
TASTYPIE_DEFAULT_FORMATS = ['json'] TASTYPIE_DEFAULT_FORMATS = ['json', 'xml']