basic_pages.views.CookieManager

class basic_pages.views.CookieManager[source]

A utility class for managing cookies.

Methods:

set_cookie(response, key, value, days_expire=7): Sets a cookie in the given HTTP response.

__init__()

Methods

__init__()

set_cookie(response, key, value[, days_expire])

Sets a cookie in the given HTTP response.