def __init__(self, *args, **kwargs):
super(PostgresManager, self).__init__(*args, **kwargs)<EOL>db_backend = settings.DATABASES['<STR_LIT:default>']['<STR_LIT>']<EOL>if '<STR_LIT>' not in db_backend:<EOL><INDENT>raise ImproperlyConfigured((<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>) % db_backend)<EOL><DEDENT>django.db.models.signals.post_save.connect(<EOL>self._on_model_save, sender=self.model, weak=False)<EOL>django.db.models.signals.pre_delete.connect(<EOL>self._on_model_delete, sender=self.model, weak=False)<EOL>self._signals_connected = True<EOL>
Initializes a new instance of :see:PostgresManager.