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.
Metadata
Release files for django-servee-gallery 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-servee-gallery-0.2.1.tar.gz | 9.0 kB | Without provenance | Details |
Release files / django-servee-gallery-0.2.1.tar.gz
| Download URL | django-servee-gallery-0.2.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1d5ae2592ab74e79c0381e239992df820e2ca99e8daf969651361768655ceb9
|
|
BLAKE2b-256 checksum How to use checksums |
52c8986d8f4594768e22ab007c4b52c24fe7ca49685e721674826c815f53e5cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-servee-gallery 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.