reg/events.py
changeset 81 a76987f54dac
parent 62 b7e47cc39342
child 84 bb6a1bd4b3f8
equal deleted inserted replaced
80:cb36fc4f29df 81:a76987f54dac
    39 
    39 
    40 def send_activation(user):
    40 def send_activation(user):
    41     """ get key from profile and send an email.
    41     """ get key from profile and send an email.
    42     """
    42     """
    43 
    43 
    44     activation_link = "http://localhost:8000/reg/activate/%s"%user.get_profile().activation_key
    44     activation_link = "http://fossee.in/workshop/registration/activate/%s"%user.get_profile().activation_key
    45     subject = "Activate your account"
    45     subject = "Activate your account"
    46     message = """
    46     message = """
    47     Dear %s,
    47     Dear %s,
    48 
    48 
    49     Thank you for registering at fossee.in.
    49     Thank you for registering at fossee.in.