Add Facebook chat ([Tawea][1]) to a template with a simple tag.
{% tawea color='#CC2700' %}
## Installation
Using `pip`:
$ pip install django-tawea
Or cloning the project from github:
$ git clone git@javimb/django-tawea.git
$ cd django-tawea
$ pip install -r requirements.txt
## Usage
Add `tawea` to `INSTALLED_APPS`:
INSTALLED_APPS = (
...
'tawea',
...)
Load and use the provided `tawea` tag in the template:
{% load tawea %}
{% tawea [color=<hex_color>] %}
Django-tawea provides all the JavaScript stuff for Tawea's chat, so put the `tawea` tag at the end of the template.
### Optional args
- **color:** The hex color used in the chat. #3b5998 by default.
##Example
{% load tawea %}
{% block js %}
{% tawea color='#CC2700' %}
{% endblock js %}
[1]: https://tawea.com/
Metadata
Release files for django-tawea 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-tawea-0.1.tar.gz | 2.4 kB | Without provenance | Details for django-tawea-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django-tawea-0.1.linux-x86_64.exe | Details for django-tawea-0.1.linux-x86_64.exe |
Total release size: 69.7 kB
Release files / django-tawea-0.1.tar.gz
| Download URL | django-tawea-0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6743cee9f612862506a13c35f8559ed327bf42c65db5b19f69dd9f11615ac777
|
|
BLAKE2b-256 checksum How to use checksums |
a1c517307e411faad74c1e176abe3294274f1ae310fd81059c4ef1346b35eb69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django-tawea-0.1.linux-x86_64.exe
| Download URL | django-tawea-0.1.linux-x86_64.exe |
|---|---|
| Size | 67.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edc2533949779f152237158109c0d6673aa6f0c7ae1af7967bd82046738ab7fb
|
|
BLAKE2b-256 checksum How to use checksums |
ca19c9bde40f06aae9eb9f0432dd0ea090450d84adfeb625e209f270b4c8009d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-tawea 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.