def join(request): activity.log(request, "institution.join.view", "Institution view join form")
def joined(request): activity.log(request, "institution.join", "Institution joined")
def resource(request): activity.log(request, "user.resource", "User added a resource to a slice")
def login(request, state=None): if state is not None: activity.log(request, "user.login." + state, "User log in") else: activity.log(request, "user.login", "User log in")
def contact(request): activity.log(request, "user.contact", "User sent a contact request")
def slice(request): activity.log(request, "user.slice", "User requested a slice")
def registered(request): activity.log(request, "user.signup", "User registered")
def signup(request): activity.log(request, "user.signup.view", "User sign up")
def logout(request): activity.log(request, "user.logout", "User log out")
def validate(request, o): activity.log(request, "slice.validate", "Slice validation", o)
def resource(request, o): activity.log(request, "slice.resource", "Resource reservation", o)