#NEWLINE# def get_backends( ) : #NEWLINE# #INDENT# from django.conf import settings #NEWLINE# backends = [ ] #NEWLINE# for backend_path in settings . AUTHENTICATION_BACKENDS : #NEWLINE# #INDENT# backends . append ( load_backend ( backend_path ) ) #NEWLINE# #UNINDENT# if ( not backends ) : #NEWLINE# #INDENT# raise ImproperlyConfigured ( 'No authentication backends have been defined. Does AUTHENTICATION_BACKENDS contain anything?' ) #NEWLINE# #UNINDENT# return backends