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.
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.
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.4.1.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file hypnobox-django-0.4.1.tar.gz
.
File metadata
- Download URL: hypnobox-django-0.4.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88a6cdfebc009b0b11e2bf241fcdee538fae8e0e0f5c2b93bdc6d44418cea39 |
|
MD5 | 50d7e0ff1b8dc4b5d82f70f301e8d757 |
|
BLAKE2b-256 | 65b14202311efe835cbc5386881cdb270da301749ded1e0ef4f8310f2b3dc049 |
File details
Details for the file hypnobox_django-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: hypnobox_django-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8411ee5db7f762861c8f40115ad2acad4ea03d36ebbc2ba589b80e3bcff007b2 |
|
MD5 | 9c76ddafff1c43a6db5c288e4b7fef42 |
|
BLAKE2b-256 | 02a127568ba4eae0caec991125dd5554e008c7ef9d5b2687aea650921ab4ada9 |