diff options
| author | Adam Johnson <me@adamj.eu> | 2021-12-10 08:22:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-10 09:22:09 +0100 |
| commit | 1be99e4e0a590d9a008da49e8e3b118b57e14075 (patch) | |
| tree | dffe5e2bb4427152e25dbc96f386789680c6de8d /tests/postgres_tests/fields.py | |
| parent | 974e3b8750fe96c16c9c0b115a72ee4a2171df34 (diff) | |
Corrected return value of ForeignKey.db_check().
Field.db_check() should return None or a SQL string.
Returning [] happened to work because it’s falsey.
Diffstat (limited to 'tests/postgres_tests/fields.py')
0 files changed, 0 insertions, 0 deletions
