Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Django application slider carousel without jQuery-dependency.

Project description

Install

$ pip install django-garpix-slider

Add ‘garpix_slider’ to INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
    ...
    'garpix_slider',
    ...
)

Make migrate:

$ python manage.py migrate

Enjoy!

Using

  1. Add to your base template:

    {% load garpix_slider %}

    {% garpix_slider_css %} {% garpix_slider_js %}

  2. Add some Slider and SliderItem in admin panel. Set some code (for example - ‘my_slider’) for your Slider.

  3. Include slider on your page in your template:

    {% garpix_slider ‘my_slider’ images_count=6 images_in_row=3 show_arrows=True %}

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-garpix-slider, version 0.1.14
Filename, size File type Python version Upload date Hashes
Filename, size django-garpix-slider-0.1.14.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page