Django wraper over Driver.js
Project description
django-driverjs is a wrapper for the [Driver.js](https://github.com/kamranahmedse/driver.js) library.
Installation
Run pip install django-driverjs. Once this step is complete add "driverjs" to your INSTALLED_APPS setting in your settings.py file and run python manage.py migrate to update your database.
Usage
#1 On the django admin panel create a driver and its steps.
#2 Load the tag and render the javascript: {% load driverjs %}
{%setup_driver 'your_driver_slug' %}
#3 Choose a place to start it with: [your_driver_slug]_driver.start(); So if your driver’s slug is new_features, a new variable will be declared: new_features_driver
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
Built Distribution
Hashes for django_driverjs-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9f918b132bc51ecbbba38290f29aa33a0d09c6753ae891a1cee6e15f2448d09 |
|
MD5 | 756a3232ca5421b384bd9de2ec5743bd |
|
BLAKE2b-256 | 81668d3be466a2c3e2e83720798fd362755dc32b8e9b5f7c89542e23d422ab5e |