Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.05 KB

README.rst

File metadata and controls

49 lines (30 loc) · 1.05 KB

django CMS Light Gallery

PyPI version

django CMS plugin for Light Gallery 1.4.0

Installation

First, add djangocms-light-gallery to your requirements.txt or install the plugin

pip install djangocms-light-gallery

Then add the plugin to settings.py

INSTALLED_APPS = [
  // ...
  'light_gallery',
  // ...

Run the migrations

python manage.py migrate light_gallery

This plugin relies on javascript, ensure you have a js block in your template

{% render_block "js" %}

Should now see Light Gallery as a component in django CMS

Publishing

pip install -U pip setuptools twine divio-cli
python setup.py sdist
twine upload dist/djangocms_light_gallery-1.2.1.tar.gz
divio addon validate
divio addon upload