diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-02-05 11:38:58 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-02-05 20:06:18 +0100 |
| commit | 27f9ff459b17ccce8177f454174232a6ec5a79e7 (patch) | |
| tree | 749f828ec838fda7dc1643d6587784284aae4f6d /tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py | |
| parent | 9410d69835c69562df2120495a0a8b9710f28df3 (diff) | |
Caught all exceptions raised by Engine.get_default().
In addition to ImproperlyConfigured, Engine.get_default() may also raise
ImportError or other exceptions. It's better to catch all exceptions in
places where the default engine isn't strictly required.
Diffstat (limited to 'tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py')
0 files changed, 0 insertions, 0 deletions
