def update ( self , * * kwargs ) : self . reload_context ( es_based = False , * * kwargs ) return super ( ESCollectionView , self ) . update ( * * kwargs )
python listview context after changed
Explicitly reload context with DB usage to get access to complete DB object .
def update(self, **kwargs):
        """ Explicitly reload context with DB usage to get access
        to complete DB object.
        """
        self.reload_context(es_based=False, **kwargs)
        return super(ESCollectionView, self).update(**kwargs)