Skip to main content

Django app to display tours with shepherdjs

Reason this release was yanked:

Preview version with bugs

Project description

django-tours

Django app to display tours with shepherdjs

Instalation

pip install django-tours

Use

Add to installed applications

# settings.py

INSTALLED_APPS = [
    # ...
    'tours',
    # ...
]

Optional configuration:

If you want to set default variables, you can add the following in your settings.py file:

# settings.py

DEFAULT_SHEPHERD_JS = 'https://cdn.jsdelivr.net/npm/shepherd.js@latest/dist/js/shepherd.min.js'
DEFAULT_SHEPHERD_CSS = 'https://cdn.jsdelivr.net/npm/shepherd.js@latest/dist/css/shepherd.css'

Add the URLs

urlpatterns = [
    # ...
    path('tours/', include('tours.urls')),
    # ...
]

Run the migrations

python manage.py migrate

Load tours into the template

{% load tours %}

{% load_tours request %}

Licence

This project is licensed under the MIT License.

Proyect Status

This project is under development

Contribution 💗

If you find value in this project and would like to show your support, please consider making a donation via PayPal:

Donate on PayPal

Your generosity helps us to continue improving and maintaining this project. We appreciate every contribution, however small. Thanks for being part of our community!

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-tours-0.0.3.tar.gz (7.2 kB view hashes)

Uploaded Source

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