Answers for "cookies in django"

0

cookies in django

def setcookie(request):
    html = HttpResponse("<h1>Dataflair Django Tutorial</h1>")
    html.set_cookie('dataflair', 'Hello this is your Cookies', max_age = None)
    return html
Posted by: Guest on July-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language