'Load configuration from Django settings.'

def read_configuration(self):

    self.configured = True
    backend = (getattr(settings, 'CELERY_RESULT_BACKEND', None) or getattr(settings, 'CELERY_BACKEND', None))
    if (not backend):
        settings.CELERY_RESULT_BACKEND = 'database'
    return DictAttribute(settings)
