Commit 8878f43
fix: add django.contrib.postgres to INSTALLED_APPS for Django 6.0
Django 6.0 requires django.contrib.postgres to be explicitly added to
INSTALLED_APPS when using PostgreSQL-specific features like SearchVectorField
and GinIndex.
This fixes the following error on Heroku:
- wagtailsearch.IndexEntry: (postgres.E005) 'django.contrib.postgres' must be
in INSTALLED_APPS in order to use SearchVectorField and GinIndex.
All 33 tests pass successfully.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent 1e8eaca commit 8878f43
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments