@throttle(5, 10 * 60) # allow 5 times in 10 minutes
    def update(self, request, id, source):
        action = Action.objects.get(pk=id, source__slug=source)
        action.slug = request.PUT.get('action')
        action.template = request.PUT.get('action_template')
        action.save()
        return action
Updates an Action record.
dataset/ETHPy150Open nowells/django-activitystreams/activitystreams/handlers.py/SourceActionHandler.update