Skip to main content

django-tours

Django app to display tours with shepherdjs

Python Logo

django-tours-1

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. See LICENSE file for details.

Proyect Status

This project is in Production/Stable ✔

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!

Metadata

Release files for django-tours 1.1.1

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-tours 1.1.1
File Size Uploaded
django_tours-1.1.1.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-tours 1.1.1
File Interpreter ABI Platform
django_tours-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / django_tours-1.1.1.tar.gz

Download URL django_tours-1.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2a856e895d36066ed1283eab83cc5399871391e626fce26a65ec19ee902f7618
BLAKE2b-256 checksum
How to use checksums
5fa0368caf1a8e8d77186e479ef2d6427f670b700b5df3847ea4faf263d7dd32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / django_tours-1.1.1-py3-none-any.whl

Download URL django_tours-1.1.1-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e6a57c4e2b6854b052aaf03b9b173cee9e1219625bd4613ed870e35e482560f
BLAKE2b-256 checksum
How to use checksums
4ffd2f372fee92e74a51b76f2b2755c5a733ad90260b90225bd30ac013d41215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

1 release file

0.0.4

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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