摘要:
djang set_signed_cookie 理解 signed_cookie 只是加了签名的 cookie, 而不是被加密的 cookie. signed_cookie 的作用是防止用户私自纂改.参考: Securing Web Cookies With Signatures So once I 阅读全文
摘要:
def diff(listA, listB): # 求交集的两种方式 retA = [i for i in listA if i in listB] retB = list(set(listA).intersection(set(listB))) #print("retA is: ", retA) #print("retB is: ", retB) ... 阅读全文