#32770: Add system check for django.contrib.postgres in INSTALLED_APPS when using the fields, indexes, and constraints it provides. -------------------------------------+------------------------------------- Reporter: Seth Yastrov | Owner: Clifford Type: | Gama Cleanup/optimization | Status: closed Component: contrib.postgres | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed * status: assigned => closed Comment: In [changeset:"74b31cd26b9ad4ad85f131850a734f02aae988bb" 74b31cd2]: {{{#!CommitTicketReference repository="" revision="74b31cd26b9ad4ad85f131850a734f02aae988bb" 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. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32770#comment:16> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/0107019781c13af9-aa3ffc18-9fa9-4361-8d59-06c6ae81a076-000000%40eu-central-1.amazonses.com.