sdi/views.py
branchanoop
changeset 57 03150449a049
parent 56 7dfacad8adee
child 65 0ca63c964237
equal deleted inserted replaced
56:7dfacad8adee 57:03150449a049
    92             mail_invi(to_emails)
    92             mail_invi(to_emails)
    93             return render_to_response("send_invi.html", {"emails":to_emails})
    93             return render_to_response("send_invi.html", {"emails":to_emails})
    94         else:
    94         else:
    95             return render_to_response("send_invi.html", {"form":form})
    95             return render_to_response("send_invi.html", {"form":form})
    96     else:
    96     else:
       
    97         form = EmailForm()
    97         return render_to_response("send_invi.html", {"form":form})
    98         return render_to_response("send_invi.html", {"form":form})
    98 
    99 
    99 
   100 
   100 
   101 
   101 def homepage(request):
   102 def homepage(request):