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
fluentcms-file-1.0.1.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for fluentcms_file-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd1ff601109246fcf257ea8ceb610c0b2dcd30177c97be14388039858f6653d |
|
MD5 | 596dac84a56759d1b1a05fe5b34abaa9 |
|
BLAKE2b-256 | 2575414d3c898d50e379ac39d05f0ae106f2f35595eca602d15ac5663fc76399 |