Integrate your site with Hypnobox Chat Service.
Project description
=============================
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.
Credits
---------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
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.
Credits
---------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hypnobox-django-0.3.0.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for hypnobox_django-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ca0c8f413bc0a01327403e4b19a9e5c2523353d9e1308e903b135b991c8512 |
|
MD5 | f36b1e7c8f505a23b61b9286cb02d67c |
|
BLAKE2b-256 | 88756c1706bb8ff8f4d451971bcd39779782986d6e14ddc41623aba6d779c5d6 |