Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-servee-gallery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-servee-gallery

Document Plugin for django-servee

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

Django-servee-gallery is a more complete gallery currently supporting images.

It requires django-easy-thumbnails so that images can easily be resized on the fly. It also very simple ways of overwriting the upload_to and the default_storage via these two options in your settings.py

Also note, the default settings should suffice, and these are not required.

SERVEE_INSERT_STORAGE_CLASS SERVEE_GALLERY_INSERT_UPLOAD_TO

There are no views or URLS for this project, it uses the default views, urls, and forms of the Servee ModelInsert class.

Make sure to add the following to INSTALLED_APPS in your own projects::

"servee_gallery",
"improved_inlines",
"easy_thumbnails",

Also make sure that any content area on your site uses the |render_inline filter. See templates/flatpages/default.html in the example_project for an implementation.

To try it out:

  1. Download the project.
  2. run python setup.py develop [requires django-servee=>0.6 which is trunk, not in PyPI]
  3. cd example_project
  4. python manage.py syncdb
  5. python manage.py runserver
  6. http://localhost:8000/login/
  7. Click "edit flatpage"
  8. Put your cursor in the wysiwyg window
  9. Click the "add button" at the bottom left of the wysiwyg toolbar and click "gallery"
  10. Upload an gallery from your computer
  11. Click the gallery, then place it in your editor.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc