This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Small 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.

uecookie9 also creates a FlatPage with a Cookie Policy.

Installation

  • Install via pip:

    pip install django-uecookie9
    
  • Add uecookie9 to your INSTALLED_APPS

  • Add django.core.context_processors.request to your TEMPLATE_CONTEXT_PROCESSORS:

    from django.conf import settings
     TEMPLATE_CONTEXT_PROCESSORS = settings.TEMPLATE_CONTEXT_PROCESSORS + (
            'django.core.context_processors.request',
    )
    
  • Override template uecookie9/policy.html with your actual Cookie Policy.

  • Execute the command below (creates a FlatPage /cookies/):

    python manage.py uecookie9
    

Usage

Paste the following code in the right place in your template:

{% load uecookie9 %}{% uecookie9 %}

Customization

By 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.

Disclaimer

There is no guarantee that this app is enough to meet UE requirements. Use at your own risk.

Notes

  • uecookie9 was tested with Django 1.6.5, however it should work with newer or older versions as well.
  • This application includes GeoLite2 data created by MaxMind.
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-uecookie9-0.1.tar.gz (443.9 kB) Copy SHA256 Checksum SHA256 Source Dec 13, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting