Skip to content

fgmacedo/hypnobox-django

Repository files navigation

hypnobox-django

https://badge.fury.io/py/hypnobox-django.png https://travis-ci.org/fgmacedo/hypnobox-django.png?branch=master

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:

{% 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

About

Integrate your site with Hypnobox chat service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published