Metadata-Version: 2.0
Name: hypnobox-django
Version: 0.4.1
Summary: Integrate your site with Hypnobox Chat Service.
Home-page: https://github.com/fgmacedo/hypnobox-django
Author: Fernando Macedo
Author-email: fgmacedo@gmail.com
License: MIT
Keywords: hypnobox-django
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.9
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: requests (>=2.0.0)

=============================
hypnobox-django
=============================

.. image:: https://badge.fury.io/py/hypnobox-django.png
    :target: https://badge.fury.io/py/hypnobox-django

.. image:: https://travis-ci.org/fgmacedo/hypnobox-django.png?branch=master
    :target: https://travis-ci.org/fgmacedo/hypnobox-django

Integrate your site with Hypnobox chat service.

Documentation
-------------

The full documentation is at https://hypnobox-django.readthedocs.org.

Quickstart
----------

Install hypnobox-django::

    pip install hypnobox-django

Include it on `INSTALLED_APPS`::

    'hypnobox',

And in your routes (`urls.py`)::

    url(r'^leads/', include('hypnobox.urls', namespace='hypnobox')),

Then use it in a template:

.. code-block:: django

    {% load hypnobox_tags  %}
    {% new_lead "your-product-code" "your-media-name" %}


It will render a link to a :ref:`LeadForm`, and on submiting this form, it
will persist a lead and redirect the user to Hypnobox chat.

Features
--------

* TODO

Running Tests
--------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install -r requirements_test.txt
    (myenv) $ python runtests.py




History
-------

0.1.0 (2016-09-08)
++++++++++++++++++

* First release on PyPI.


