-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Milestone
Description
As we provide more front-end support for staff members to modify and act on orgs without hijacking, we should make sure we adopt our new activity tracking logic so we can have an accurate record of these interventions.
squarelet/squarelet/core/utils.py
Lines 27 to 40 in c0dc656
| def new_action( | |
| actor, verb, action_object=None, target=None, public=False, description=None | |
| ): | |
| """Wrapper to send a new action and return the generated Action object.""" | |
| action_signal = actstream.action.send( | |
| actor, | |
| verb=verb, | |
| action_object=action_object, | |
| target=target, | |
| public=public, | |
| description=description, | |
| ) | |
| # action_signal = ((action_handler, Action)) | |
| return action_signal[0][1] |
Metadata
Metadata
Assignees
Labels
No labels