Changes between Version 2 and Version 3 of Ticket #31221, comment 1


Ignore:
Timestamp:
Jan 31, 2020, 3:21:51 PM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31221, comment 1

    v2 v3  
    33The latter is in charge of [https://github.com/django/django/blob/b9cf764be62e77b4777b3a75ec256f6209a57671/django/contrib/postgres/apps.py#L11-L28 connecting a signal receiver] that [https://github.com/django/django/blob/b9cf764be62e77b4777b3a75ec256f6209a57671/django/contrib/postgres/signals.py#L37-L43 registers] the necessary `psycopg2` adapters on connection creation that [https://www.psycopg.org/docs/extras.html#hstore-data-type turns the string provided by PostgreSQL into a Python dict].
    44
    5 If that's the origin of your issue I suggest we re-purpose this ticket to add system checks to all `django.contrib.postgres` fields that errors when a field is used but `self.model._meta.apps.get('postgres')` is missing as I've been bitten by that in the best and remember helping a few forks with it since these fields were introduced.
     5If that's the origin of your issue I suggest we re-purpose this ticket to add system checks to all `django.contrib.postgres` fields that errors when a field is used but `self.model._meta.apps.get('postgres')` is missing as I've been bitten by that in the past and remember helping a few folks with it since these fields were introduced.
Back to Top