mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
10 lines
472 B
Python
10 lines
472 B
Python
import django.dispatch
|
|
|
|
# Use org_id = -1 if it's not an org repo
|
|
repo_created = django.dispatch.Signal(providing_args=["org_id", "creator", "repo_id", "repo_name"])
|
|
repo_deleted = django.dispatch.Signal(providing_args=["org_id", "usernames", "repo_owner", "repo_id", "repo_name"])
|
|
|
|
share_file_to_user_successful = django.dispatch.Signal(providing_args=["priv_share_obj"])
|
|
|
|
upload_file_successful = django.dispatch.Signal(providing_args=["repo_id", "file_path", "owner"])
|