diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-05-16 23:48:38 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-06-18 08:36:49 +0200 |
| commit | 74b31cd26b9ad4ad85f131850a734f02aae988bb (patch) | |
| tree | ceabf0b4c985ae8159d44cf969e17c31bd38a337 /tests/annotations | |
| parent | 8c56e939750ae785b806dfa4e043590760c90ab6 (diff) | |
Fixed #32770 -- Added system check to ensure django.contrib.postgres is installed when using its features.
Added postgres.E005 to validate 'django.contrib.postgres' is in INSTALLED_APPS
when using:
* PostgreSQL-specific fields (ArrayField, HStoreField, range fields, SearchVectorField),
* PostgreSQL indexes (PostgresIndex and all subclasses), and
* ExclusionConstraint
The check provides immediate feedback during system checks rather than failing
later with obscure runtime and database errors.
Thanks to Simon Charette and Sarah Boyce for reviews.
Diffstat (limited to 'tests/annotations')
0 files changed, 0 insertions, 0 deletions
