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.
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.
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' %}' />