{ "info": { "author": "9dev", "author_email": "9devmail@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "****************\r\ndjango-uecookie9\r\n****************\r\n\r\nSmall app that detects if the current user is located in the European Union. If so, a small notification about cookies is displayed. Once notification is closed by the user, it will not appear anymore.\r\n\r\n``uecookie9`` also creates a FlatPage with a Cookie Policy.\r\n\r\nRequirements\r\n============\r\n\r\n- `pygeoip `_\r\n\r\n- `django.contrib.flatpages `_\r\n\r\nInstallation\r\n============\r\n\r\n- Install via pip::\r\n\r\n pip install django-uecookie9\r\n\r\n- Add ``uecookie9`` to your ``INSTALLED_APPS``\r\n\r\n- Add ``django.core.context_processors.request`` to your ``TEMPLATE_CONTEXT_PROCESSORS``::\r\n\r\n\tfrom django.conf import settings\r\n\t TEMPLATE_CONTEXT_PROCESSORS = settings.TEMPLATE_CONTEXT_PROCESSORS + (\r\n\t\t'django.core.context_processors.request',\r\n\t)\r\n \r\n- Override template ``uecookie9/policy.html`` with your actual Cookie Policy.\r\n\r\n- Execute the command below (creates a FlatPage ``/cookies/``)::\r\n\r\n\tpython manage.py uecookie9\r\n\r\nUsage\r\n=====\r\n\r\nPaste the following code in the right place in your template::\r\n\r\n\t{% load uecookie9 %}{% uecookie9 %}\r\n\r\n\r\nCustomization\r\n=============\r\n\r\nBy default, notification is wrapped in a fixed div that shows at the bottom of the page. In order to customize it you have to create your own version of template ``uecookie9/message.html``. \r\n\r\nDisclaimer\r\n==========\r\nThere is no guarantee that this app is enough to meet UE requirements. Use at your own risk.\r\n\r\nNotes\r\n=====\r\n\r\n- ``uecookie9`` was tested with Django 1.6.5, however it should work with newer or older versions as well.\r\n- This application includes GeoLite2 data created by `MaxMind `_.", "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/9dev/django-uecookie9", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-uecookie9", "package_url": "https://pypi.org/project/django-uecookie9/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-uecookie9/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/9dev/django-uecookie9" }, "release_url": "https://pypi.org/project/django-uecookie9/0.1/", "requires_dist": null, "requires_python": null, "summary": "Django app that shows notification about cookies to UE citizens.", "version": "0.1" }, "last_serial": 1354505, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f6d07d439c621030e3baab4d65f7f4b8", "sha256": "a34953f36bd80e683348d9baa660fb30e5e9f45324b7fbf9d3cd2874ba490512" }, "downloads": -1, "filename": "django-uecookie9-0.1.tar.gz", "has_sig": false, "md5_digest": "f6d07d439c621030e3baab4d65f7f4b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 443877, "upload_time": "2014-12-13T19:17:13", "url": "https://files.pythonhosted.org/packages/e5/ae/2656d19ebaaeb951bb29ef8585609ad9a19d329c5e197a04f01e29fbb40d/django-uecookie9-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f6d07d439c621030e3baab4d65f7f4b8", "sha256": "a34953f36bd80e683348d9baa660fb30e5e9f45324b7fbf9d3cd2874ba490512" }, "downloads": -1, "filename": "django-uecookie9-0.1.tar.gz", "has_sig": false, "md5_digest": "f6d07d439c621030e3baab4d65f7f4b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 443877, "upload_time": "2014-12-13T19:17:13", "url": "https://files.pythonhosted.org/packages/e5/ae/2656d19ebaaeb951bb29ef8585609ad9a19d329c5e197a04f01e29fbb40d/django-uecookie9-0.1.tar.gz" } ] }