Django app to display tours with shepherdjs
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. 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:
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
Release history Release notifications | RSS feed
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-1.1.0.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for django_tours-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc40175b0c443eb3478ce8799dd2e76e5316ef5b9e6341d553b7d0ef5c907b1 |
|
MD5 | f4b176e86fb8ebfbef1b0ff0902f37f4 |
|
BLAKE2b-256 | e4cb8c58562ab2a3c3353e91e289e782255612d20dcc6c242d2b11efb80fd8b8 |