Skip to content

Commit 82ba247

Browse files
matrixiseclaude
andcommitted
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 Heroku deployment error: wagtailsearch.IndexEntry: (postgres.E005) 'django.contrib.postgres' must be in INSTALLED_APPS in order to use SearchVectorField and GinIndex. Fixes deployment issue with Django 6.0 upgrade from PR #179. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent b4a1b2b commit 82ba247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonie/pythonie/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"django.contrib.sessions",
4444
"django.contrib.messages",
4545
"django.contrib.staticfiles",
46+
"django.contrib.postgres",
4647
"compressor",
4748
"taggit",
4849
"modelcluster",

0 commit comments

Comments
 (0)