📅  最后修改于: 2022-03-11 14:45:37.902000             🧑  作者: Mango
def setcookie(request):
html = HttpResponse("Dataflair Django Tutorial
")
html.set_cookie('dataflair', 'Hello this is your Cookies', max_age = None)
return html