app/soc/views/models/club_app.py
changeset 821 5afe16b2e86b
parent 818 ddd102e82107
child 823 c11a103f103d
--- a/app/soc/views/models/club_app.py	Mon Jan 19 23:25:49 2009 +0000
+++ b/app/soc/views/models/club_app.py	Mon Jan 19 23:26:09 2009 +0000
@@ -29,6 +29,7 @@
 from soc.logic import accounts
 from soc.logic import cleaning
 from soc.logic import dicts
+from soc.logic.helper import notifications
 from soc.logic.models import user as user_logic
 from soc.models import group_app as group_app_model
 from soc.views import helper
@@ -200,6 +201,7 @@
         # the application has been accepted
         fields['accepted'] = True
         fields['reviewed'] = True
+        notifications.sendNewClubNotification(entity)
       elif accepted_value == 'false':
         # the application has been denied
         fields['accepted'] = False