def METHOD_NAME(self):
    """
    Sets up PRAGMAs.
    """
    connection_created.connect(self.activate_pragmas_per_connection)
    self.activate_pragmas_on_start()
    # Log the settings file that we are running Kolibri with.
    # Do this logging here, as this will be after Django has done its processing of
    # Any environment variables or --settings command line arguments.
    logger.info(
        "Running Kolibri with the following settings: {settings}".format(
            settings=os.environ["DJANGO_SETTINGS_MODULE"]
        )
    )
    self.check_redis_settings()
    # Do this to add an automapping from the Morango UUIDField to the UUIDFilter so that it automatically
    # maps to this filter when using the UUIDField in a filter.
    from morango.models import UUIDField
    FilterSet.FILTER_DEFAULTS.update({UUIDField: {"filter_class": UUIDFilter}})
    # Register any django apps that may have kolibri plugin
    # modules inside them
    registered_plugins.register_non_plugins(settings.INSTALLED_APPS)
    # Fixes issue using OuterRef within Cast() that is patched in later Django version
    # Patch from https://github.com/django/django/commit/c412926a2e359afb40738d8177c9f3bef80ee04e
    # https://code.djangoproject.com/ticket/29142
    F.relabeled_clone = lambda self, relabels: self