Skip to main content
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

Metadata

Release files for django-tooltips 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tooltips 1.1.5
File Size Uploaded Provenance Actions
django-tooltips-1.1.5.tar.gz 3.2 kB Without provenance Details for django-tooltips-1.1.5.tar.gz

Release files / django-tooltips-1.1.5.tar.gz

Download URL django-tooltips-1.1.5.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c37d1c23d3fdbe8d1e6c4301fd3e6495d04fc8d4388840ce08c114245d0770c5
BLAKE2b-256 checksum
How to use checksums
f2a8f98fb7b2df6ac5720c1d7d6ddc6d3fccac9392d2e617c0b14f6c39a2300d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-tooltips 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page