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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 852846b56e03a6ac9bc7f269abc112d96314e537bfd52b398551b4a9a8e34a37 |
|
MD5 | 0407a96064e202e29fd0326dec91e4eb |
|
BLAKE2b-256 | bcab13f2f45b1d3b7fa11cbfda0da61b4f25715bb479c605c52bae60dc50296b |