def get_connection(*a, **kw):
    return BackendWrapper(dj_get_connection(*a, **kw))
Beispiel #2
0
def get_connection(*a, **kw):
    return BackendWrapper(dj_get_connection(*a, **kw))
Beispiel #3
0
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

import logging
import time

from django.conf import settings
from django.core.mail import get_connection as dj_get_connection

print(dj_get_connection(*a, **kw))