A file plugin for django-fluent-pages
Project description
fluentcms-file
A file plugin for django-fluent-contents
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install fluentcms-file
Backend Configuration
First make sure the project is configured for django-fluent-contents.
Then add the following settings:
INSTALLED_APPS += (
'fluentcms_file',
)
# The upload folder for all files
# Default: '.'
FLUENTCMS_FILE_UPLOAD_TO = 'uploads/'
The database tables can be created afterwards:
python ./manage.py migrate
Now, the FilePlugin can be added to your PlaceholderField and PlaceholderEditorAdmin admin screens.
Frontend Configuration
If needed, the HTML code can be overwritten by redefining fluentcms_file/file.html.
Contributing
If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fluentcms-file-1.0.2.tar.gz
.
File metadata
- Download URL: fluentcms-file-1.0.2.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4604077a578a3ff063a9b7725b7c220b17ca0ef1e23ade5756f6142a47a0f1f4 |
|
MD5 | d78f34109788b15dd87591ed849643d8 |
|
BLAKE2b-256 | 21ba8875c9adb1c60b7297ddd50bd969a2be44b00c15784e0337ae498dff4bfe |
Provenance
File details
Details for the file fluentcms_file-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: fluentcms_file-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8489f2dbe27c4c1bcc93a59055b3e309b06d3fcf5b5825ed567b3c98131676ff |
|
MD5 | ba1e7f302d5bbcefb8ba2bc2ee64f784 |
|
BLAKE2b-256 | e0c0dca7193f8bf4f6a30f15c851345345bd8e1d786364247303873b13239721 |