Add new serializer: better YAML

This commit is contained in:
Roberto Rosario
2012-10-07 03:43:35 -04:00
parent f203947836
commit a6b28574d7
3 changed files with 107 additions and 0 deletions

View File

@@ -233,6 +233,10 @@ PAGINATION_INVALID_PAGE_RAISES_404 = True
#---------- Search ------------------
SEARCH_SHOW_OBJECT_TYPE = False
SERIALIZATION_MODULES = {
'better_yaml': 'common.serializers.better_yaml',
}
try:
from settings_local import *
except ImportError: