Skip to main content

A file plugin for django-fluent-pages

Project description

fluentcms-file

A file plugin for django-fluent-contents

https://img.shields.io/pypi/v/fluentcms-file.svg https://img.shields.io/github/license/bashu/fluentcms-file.svg https://landscape.io/github/bashu/fluentcms-file/develop/landscape.svg?style=flat

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 details)

Uploaded Source

Built Distribution

fluentcms_file-1.0.1-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for fluentcms-file-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d8389a83f5e09c78a087d73d94248be730fd3012617973f8968bc89a27b53e23
MD5 7f98fe277fec780804f8f7c0c746143f
BLAKE2b-256 e2c3ecae0862e82e671acb2a2bd7a797b18ce6d6cc6efd5ca28a976ac4ae3b9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluentcms_file-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4bd1ff601109246fcf257ea8ceb610c0b2dcd30177c97be14388039858f6653d
MD5 596dac84a56759d1b1a05fe5b34abaa9
BLAKE2b-256 2575414d3c898d50e379ac39d05f0ae106f2f35595eca602d15ac5663fc76399

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