A file plugin for django-fluent-pages
Project description
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. :-)
Changes
2.0.1 (2021-11-21)
Add missing mo files.
2.0.0 (2021-11-20)
Added Django 3+ support.
Dropped Python 2.7 support.
Dropped Django 1.10 / 1.11 support.
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
Hashes for fluentcms_file-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c1a4b8e418e3f7c0ab6655162f5f13ec7ca42f5b034231db1aca68f42cd44f |
|
MD5 | 7189c865c9cd7df040a72232697d8a4a |
|
BLAKE2b-256 | 56e4f2a7e4b51e01bbd9b04e5e2a4e24ccb1649d8b6ad7c4b3b1109b5ad3fd4b |