Skip to main content

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 Include the static files (provided):

<script src="{%static 'Driverjs/js/driver.min.js'%}"></script>

<link rel="stylesheet" href="{%static 'Driverjs/css/driver.min.css'%}">

#3 Load the tag and render the javascript: {% load driverjs %}

{%setup_driver 'your_driver_slug' %}

#4 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

Metadata

Release files for django-driverjs 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-driverjs 0.1.4
File Size Uploaded
django-driverjs-0.1.4.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-driverjs 0.1.4
File Interpreter ABI Platform
django_driverjs-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 46.9 kB

Release files / django-driverjs-0.1.4.tar.gz

Download URL django-driverjs-0.1.4.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c7435810109ceb7e9bda0068bc5bb54078a12ee566a885ab79ae529abf08371
BLAKE2b-256 checksum
How to use checksums
16706f54b8180de0a22a99b719a03b78f1e371436a432642cf5ccf84863dee6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.6

Release files / django_driverjs-0.1.4-py3-none-any.whl

Download URL django_driverjs-0.1.4-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56839fb869489a342cf302fb31459d73a6051a91c7b286591cb2b4dcd4b17219
BLAKE2b-256 checksum
How to use checksums
d09a09039f08408b1e156985ae8614e19b30b27b06b0fcaf2022d72ae8ab14fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page