oops...debug #78

Merged
merged 1 commit into from Oct 8, 2012
@@ -92,7 +92,7 @@ def new(request,id):
Approved by: %s"""%(u.first_name,u.last_name,u.date_joined.strftime("%a %b %d, %Y %H:%M:%S"),request.user.username)
- send_mail('Welcome to ACM@UIUC', welcome_msg, 'ACM <acm@uiuc.edu>',['reedlabotz@gmail.com'], fail_silently=False)
+ send_mail('Welcome to ACM@UIUC', welcome_msg, 'ACM <acm@uiuc.edu>',[u.email,'treasurer@acm.uiuc.edu'], fail_silently=False)
return HttpResponseRedirect('/intranet/members/search?q=%s' % u.username) # Redirect after POST
except ValueError:
messages.add_message(request, messages.ERROR, "Not a valid netid")