<filename>app/exceptions.py
# -*- coding:utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
class ValidationError(ValueError):
    pass

<filename>app/exceptions.py
# -*- coding:utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
class ValidationError(ValueError):
    pass

# -*- coding:utf-8 -*-