Skip to main content

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.
# 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.

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.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

fluentcms_file-1.0.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fluentcms-file-1.0.0.tar.gz.

File metadata

File hashes

Hashes for fluentcms-file-1.0.0.tar.gz
Algorithm Hash digest
SHA256 68a2557aa8f13aecf1c38ec9af70b5052ed2220d6bd2a67a00b586dcba91b85b
MD5 8a2bee7245f263fd6a4edf25de7618c9
BLAKE2b-256 4f84a00d10e74c9ccba1910ef7084b00c14a86267131531836b09cc9ff9e6685

See more details on using hashes here.

File details

Details for the file fluentcms_file-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fluentcms_file-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 070865b45bb9dae2ae7d4238aadd350cb9472ea444957bdd83a47f3567a044df
MD5 e5a453f1c3d4cc6ae6afe68fc6f8dcbb
BLAKE2b-256 cdc0caa39e08731defa6fb5eb050cbf39faf927ee4cae26ea44842d8b4cd3ff7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page