Skip to main content

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

django-driverjs-0.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

django_driverjs-0.1-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page