Update settings.py

Added 'xml' to 'TASTYPIE_DEFAULT_FORMATS' as in http://django-tastypie.readthedocs.org/en/latest/settings.html
This commit is contained in:
Opalo 2014-12-10 20:45:10 +01:00
parent 42d70ce599
commit d52c10875e

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']