Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django manageable Bootstrap Tooltips

Project Description
django-tooltips
===============

Manageable bootstrap tooltips

Requirements
============

- Django (duh)
- Bootstrap
- Jquery

Installation
============

Install the app via pip:

::

$ pip install django-tooltips

Add ``tooltips`` to your installated apps:

.. code:: python

INSTALLED_APPS = (
...
'tooltips',
...

Add the processor to your ``TEMPLATE_CONTEXT_PROCESSORS``:

.. code:: python

TEMPLATE_CONTEXT_PROCESSORS = (
...
'tooltips.processors.tooltips',
)

Include this in your templates (eg, ``base.html``):

{% include "tooltips/tooltips.html" %}

And run the migrations:

::

$ manage.py migrate tooltips

Now, whenever you add a tooltip via the admin, it will appear on your
pages just after the element you provided via the javascript selector:

Preview
=======

Clientside:

.. figure:: https://raw.github.com/svdgraaf/django-tooltips/master/preview.png
:alt: adming

adming
Admin:

.. figure:: https://raw.github.com/svdgraaf/django-tooltips/master/admin.png
:alt: adming

adming
Caveats
=======

As the selectors are plain javascript selectors, you can use all the
magic you want. But don't use very wide selectors like ``div`` or
``div:contains("")``, those will probably bring your browser to a
standstil :) YMMV
Release History

Release History

This version
History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1

History Node

1.0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-tooltips-1.1.5.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Mar 7, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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