https://github.com/driftt/django-drift-chatwidget
Easily add Drift's chat widget to your Django apps.
https://github.com/driftt/django-drift-chatwidget
chat chatbot django drift widget
Last synced: about 1 year ago
JSON representation
Easily add Drift's chat widget to your Django apps.
- Host: GitHub
- URL: https://github.com/driftt/django-drift-chatwidget
- Owner: Driftt
- License: mit
- Created: 2018-07-20T03:55:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T17:17:27.000Z (almost 7 years ago)
- Last Synced: 2025-05-19T02:52:03.317Z (about 1 year ago)
- Topics: chat, chatbot, django, drift, widget
- Language: HTML
- Size: 7.81 KB
- Stars: 4
- Watchers: 66
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
# Drift Chat Widget
Easily add Drift's chat widget to your Django apps.
## Getting Started
To get started run `pip install django-drift-chatwidget`
### Settings
In your `settings.py` file add the following lines:
```
DRIFT_CHAT_WIDGET = {
'ID': 'YOUR ID'
}
```
Your `ID` can be obtained [here](https://app.drift.com/settings/widget) in the **JavaScript** section.
*Note: The values in `drift.load('YOUR ID');` represent your `ID`*
Lastly, add `drift_chatwidget` to your `INSTALLED_APPS` section.
### Templates
```
{% load drift_chat_widget %}
{% drift_chatwidget %}
```
You should now be able to see the chat widget on pages where the template tag is included.
### Bugs
If you find a bug, feel free to suggest a fix or contribute by opening up a PR.
### Contributors
- Lemuel Boyce [rhymiz](https://github.com/rhymiz)