django-jquery-qtip

jQuery qTip (http://qtip2.com) packaged in a django app to speed up new applications and deployment.


Keywords
django, jquery, qtip, staticfiles
License
MIT
Install
pip install django-jquery-qtip==2.1.1

Documentation

django-jquery-qtip

Version Badge Wheel Status Badge License Badge

jQuery qTip packaged in a django app to speed up new applications and deployment.

Note that this does not include jQuery or jQuery UI itself, use a package such as django-jquery or django-jquery-ui to do so.

Installation

Install using pip:

pip install django-jquery-qtip

Add to jquery_qtip to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
    ...
    'jquery_qtip',
    ...
)

Run collectstatic to bring in the qTip static files.

Usage

In your template, load Django's static template tag library:

{% load static %}

Then use the static template tag to load the qTip files:

<script type='text/javascript' src='{% static 'js/jquery.qtip.js' %}'></script>
<link rel='stylesheet' type='text/css' href='{% static 'css/jquery.qtip.css' %}' />