@shared_task
def forgot_email(subject,user_cipher,key_cipher,to):
print "comes here in the mail"
try:
email_content = {'user_cipher':user_cipher,'key_cipher': key_cipher}
messag
我想做一個項目使用嵌套if。但它不起作用。爲什麼? 我的代碼, schedule = Schedule.objects.all()
for c in schedule :
p = c.poll
e = c.end_time
s = c.start_time
n = c.no_of_response
now = timezone.