A file plugin for django-fluent-pages
A file plugin for django-fluent-contents
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install fluentcms-file
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. # Defaults to the root of the media folder. 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.
If needed, the HTML code can be overwritten by redefining fluentcms_file/file.html.
If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|fluentcms_file-1.0.0-py2.py3-none-any.whl (11.1 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Aug 31, 2015|
|fluentcms-file-1.0.0.tar.gz (9.9 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 31, 2015|