##// END OF EJS Templates
extended safe_str and safe_unicode with chardet fallback....
extended safe_str and safe_unicode with chardet fallback. - if chardet is installed and utf-8 decoding fails we'll fallback to detect encoding

File last commit:

r833:9753e090 beta
r1490:76b358f8 beta
Show More
config.py
14 lines | 339 B | text/x-python | PythonLexer
#!/usr/bin/python
# -*- coding: utf-8 -*-
from sqlalchemy.util import OrderedDict
__all__ = ['databases', 'operations']
databases = ('sqlite', 'postgres', 'mysql', 'oracle', 'mssql', 'firebird')
# Map operation names to function names
operations = OrderedDict()
operations['upgrade'] = 'upgrade'
operations['downgrade'] = 'downgrade'