{ "info": { "author": "Incuna Ltd", "author_email": "admin@incuna.com", "bugtrack_url": null, "classifiers": [], "description": "django-cookie-message\n=====================\n\nA simple middleware that uses the django messages framework to add a notification regarding the EU cookie directive.\n\nIf it can't detect a cookie about cookies, sets it and displays a message.\n\n\nInstallation\n------------\n\nInstall from pypi. ::\n\n pip install django-cookie-message\n\nIn your settings: ::\n\n* Ensure the django messages framework is installed.\n* Add ``'cookie_message'`` to ``INSTALLED_APPS``.\n* Add ``'cookie_message.middleware.CookieMessageMiddleware'`` to ``MIDDLEWARE_CLASSES``.\n\nConfiguration\n-------------\n\n**The message** can be changed by overriding the ``cookies/message.py`` template.\n\n**The cookie** can be changed by defining ``COOKIE_MESSAGE_KWARGS`` in your\n``settings.py``. The default is: ::\n\n COOKIE_MESSAGE_KWARGS = {\n 'key': 'cookie_message',\n 'value': '',\n 'max_age': 365 * 24 * 60 * 60, # One year.\n 'expires': None,\n 'path': '/',\n 'domain': None,\n 'secure': None,\n 'httponly': False,\n }\n\nThese are the arguments sent to `set_cookie() `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/incuna/django-cookie-message/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-cookie-message", "package_url": "https://pypi.org/project/django-cookie-message/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cookie-message/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/incuna/django-cookie-message/" }, "release_url": "https://pypi.org/project/django-cookie-message/0.1/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1" }, "last_serial": 640686, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3a57e59faf1047a560b468d50a2a7e29", "sha256": "1ec336e8236fefbf87ffc88773bc087ca3ff0715c0b9cf288b727a5980ead2a6" }, "downloads": -1, "filename": "django-cookie-message-0.1.tar.gz", "has_sig": false, "md5_digest": "3a57e59faf1047a560b468d50a2a7e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2301, "upload_time": "2012-11-15T14:26:49", "url": "https://files.pythonhosted.org/packages/96/c2/fb3ae716392eb0cd5561ac2d5a6f6d5476c20eeb7b2fbf45af3c3a04dc16/django-cookie-message-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a57e59faf1047a560b468d50a2a7e29", "sha256": "1ec336e8236fefbf87ffc88773bc087ca3ff0715c0b9cf288b727a5980ead2a6" }, "downloads": -1, "filename": "django-cookie-message-0.1.tar.gz", "has_sig": false, "md5_digest": "3a57e59faf1047a560b468d50a2a7e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2301, "upload_time": "2012-11-15T14:26:49", "url": "https://files.pythonhosted.org/packages/96/c2/fb3ae716392eb0cd5561ac2d5a6f6d5476c20eeb7b2fbf45af3c3a04dc16/django-cookie-message-0.1.tar.gz" } ] }