#NEWLINE# def contribute_to_class( self , model , name ) : #NEWLINE# #INDENT# '\n        Newer versions of Django explicitly prevent managers being\n        accessed from abstract classes, which is behaviour the search\n        API has always relied on. Here we reinstate it.\n        ' #NEWLINE# super ( SearchableManager , self ) . contribute_to_class ( model , name ) #NEWLINE# setattr ( model , name , ManagerDescriptor ( name ) )