#NEWLINE# @ throttle ( 5 , ( 10 * 60 ) ) #NEWLINE# def update( self , request , id , source_name ) : #NEWLINE# #INDENT# activity = Activity . objects . get ( pk = id , action__source__slug = source ) #NEWLINE# activity . timestamp = request . PUT . get ( 'timestamp' ) #NEWLINE# activity . save ( ) #NEWLINE# return activity