Skip to main content

A file plugin for django-fluent-pages

Project description

https://img.shields.io/pypi/v/fluentcms-file.svg https://img.shields.io/pypi/dm/fluentcms-file.svg https://img.shields.io/github/license/bashu/fluentcms-file.svg 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. :-)

Changes

2.0.0 (2021-11-20)

  • Added Django 3+ support.

  • Dropped Python 2.7 support.

  • Dropped Django 1.10 / 1.11 support.

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

Uploaded Source

Built Distribution

fluentcms_file-2.0.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluentcms-file-2.0.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for fluentcms-file-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5eef1d21eed5e42532d359672f1062d86a1f192a3611101883d71a576a821cad
MD5 d257a5dea327b72387ad2ef6111dad05
BLAKE2b-256 bec12a7b2877260fab56ef1c915e05e6fa2ce3d06a3e646949b1a2f810069ddf

See more details on using hashes here.

File details

Details for the file fluentcms_file-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: fluentcms_file-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for fluentcms_file-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69847b23821d9834ce4f489baa4788e033a24e71f49c8810eae6d8f44d8ed96b
MD5 5ef6b31cf9800192e10f194626bf3b28
BLAKE2b-256 13e39d6e5902df7bc007d255a181523d731ebc632154fc75e20709252e7fb96d

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