@@ -28,7 +28,7 @@ def split_identifier(self, identifier, **kwargs):
2828
2929        if  len (bits ) <  2 :
3030            logger .error ("Unable to parse object " 
31-                          "identifer  '%s'. Moving on..."  %  identifier )
31+                          "identifier  '%s'. Moving on..."  %  identifier )
3232            return  (None , None )
3333
3434        pk  =  bits [- 1 ]
@@ -38,7 +38,7 @@ def split_identifier(self, identifier, **kwargs):
3838
3939    def  get_model_class (self , object_path , ** kwargs ):
4040        """ 
41-         Fetch the model's class in a standarized  way. 
41+         Fetch the model's class in a standardized  way. 
4242        """ 
4343        bits  =  object_path .split ('.' )
4444        app_name  =  '.' .join (bits [:- 1 ])
@@ -52,7 +52,7 @@ def get_model_class(self, object_path, **kwargs):
5252
5353    def  get_instance (self , model_class , pk , ** kwargs ):
5454        """ 
55-         Fetch the instance in a standarized  way. 
55+         Fetch the instance in a standardized  way. 
5656        """ 
5757        instance  =  None 
5858        try :
@@ -67,7 +67,7 @@ def get_instance(self, model_class, pk, **kwargs):
6767
6868    def  get_indexes (self , model_class , ** kwargs ):
6969        """ 
70-         Fetch the model's registered ``SearchIndex`` in a standarized  way. 
70+         Fetch the model's registered ``SearchIndex`` in a standardized  way. 
7171        """ 
7272        try :
7373            using_backends  =  connection_router .for_write (** {'models' : [model_class ]})
@@ -117,7 +117,7 @@ def run(self, action, identifier, **kwargs):
117117                    raise  ValueError ("Couldn't load object '%s'"  %  identifier )
118118
119119                # Call the appropriate handler of the current index and 
120-                 # handle exception if neccessary  
120+                 # handle exception if necessary  
121121                try :
122122                    current_index .update_object (instance , using = using )
123123                except  Exception  as  exc :
0 commit comments