bashu / fluentcms-file

πŸ—‚ File plugin for django-fluent-contents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fluentcms-file

https://app.travis-ci.com/bashu/fluentcms-file.svg?branch=develop

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. :-)

About

πŸ—‚ File plugin for django-fluent-contents

License:Apache License 2.0


Languages

Language:Python 95.5%Language:HTML 4.5%