Permalink
Browse files

remove xml from api v2 formats, because it becomes default, due to br…

…owswers sending accept:xml header, and we don't have lxml installed on the servers.
  • Loading branch information...
1 parent 6b6038e commit bd2a81da3133b9f18d29bb434016d7b618e4c61f @ofri committed Apr 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apis/resources/base.py
View
2 apis/resources/base.py
@@ -75,7 +75,7 @@ class Meta:
cache = SimpleCache()
throttle = SmartCacheThrottle(throttle_at=60, timeframe=60)
serializer = IterJSONAndCSVSerializer(
- formats=['json', 'jsonp', 'xml', 'csv'])
+ formats=['json', 'jsonp', 'csv'])
def _get_list_fields(self, request):
"""Helper to return list and extra fields for list mode.

0 comments on commit bd2a81d

Please sign in to comment.