forked from ubccr/coldfront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from fasrc/cp_usesignals
Use signals
- Loading branch information
Showing
6 changed files
with
177 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
import django.dispatch | ||
|
||
|
||
project_create = django.dispatch.Signal() | ||
#providing_args=["project_title"] | ||
project_post_create = django.dispatch.Signal() | ||
#providing_args=["project_obj"] | ||
|
||
project_make_projectuser = django.dispatch.Signal() | ||
#providing_args=["user_name", "group_name"] | ||
|
||
project_preremove_projectuser = django.dispatch.Signal() | ||
#providing_args=["user_name", "group_name"] | ||
|
||
project_activate_user = django.dispatch.Signal() | ||
#providing_args=["project_user_pk"] | ||
project_remove_user = django.dispatch.Signal() | ||
#providing_args=["project_user_pk"] | ||
project_filter_users_to_remove = django.dispatch.Signal() | ||
#providing_args=["project_user_list"] | ||
# return tuple of (no_removal, can_remove) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.