reg/events.py
changeset 20 9354ef8119c6
parent 18 7dae32a2439b
child 23 42e2a810e1c8
--- a/reg/events.py	Tue Apr 13 10:50:29 2010 +0530
+++ b/reg/events.py	Tue Apr 13 12:03:12 2010 +0530
@@ -37,6 +37,12 @@
         except IntegrityError:
             pass
 
+def send_activation(user):
+    """ get key from profile and send an email.
+    """
+
+    print user.get_profile().activation_key
+
 def create_event(title, description, start_date, stop_date, created_by=None):
     """ make an event and save it.
     """