Document Plugin for django-servee
Project description
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.
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.
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
File details
Details for the file django-servee-gallery-0.2.tar.gz
.
File metadata
- Download URL: django-servee-gallery-0.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a92ba37f16c66f80aa7ff17933e8508993ed57834079d2a123e325500ad8a9b |
|
MD5 | a0ff1edd520768a3f2663b61e683c11a |
|
BLAKE2b-256 | da8b39f85f71ef01454d0adc7b516e6af1fc4cadbbfdd036451e62afe2827c10 |