Skip to main content

pypi build coverage python django djangocms

django CMS File is a set of plugins for django CMS that allow you to add files to your site You can either choose a single file or an entire folder.

It uses files managed by Django Filer.

This addon is compatible with Divio Cloud for easy installation.

preview.gif

Contributing

This is a an open-source project. We’ll be delighted to receive your feedback in the form of issues and pull requests. Before submitting your pull request, please review our contribution guidelines.

We’re grateful to all contributors who have helped create and maintain this package. Contributors are listed at the contributors section.

One of the easiest contributions you can make is helping to translate this addon on Transifex.

Documentation

See dependencies in the pyproject.toml file for additional dependencies:

  • Django Filer 2 or higher

Make sure django-filer is installed and configured appropriately.

Installation

For a manual install:

  • run pip install djangocms-file

  • add djangocms_file to your INSTALLED_APPS

  • run python manage.py migrate djangocms_file

Configuration

Note that the provided templates are very minimal by design. You are encouraged to adapt and override them to your project’s requirements.

This addon provides a default template for all instances. You can provide additional template choices by adding a DJANGOCMS_FILE_TEMPLATES setting:

DJANGOCMS_FILE_TEMPLATES = [
    ('feature', _('Featured Version')),
]

You’ll need to create the feature folder inside templates/djangocms_file/ otherwise you will get a template does not exist error. You can do this by copying the default folder inside that directory and renaming it to feature.

Running Tests

You can run tests by executing:

virtualenv env
source env/bin/activate
pip install -U pip tox
tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms_file-4.0.1.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_file-4.0.1-py3-none-any.whl (137.2 kB view details)

Uploaded Python 3

File details

Details for the file djangocms_file-4.0.1.tar.gz.

File metadata

  • Download URL: djangocms_file-4.0.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for djangocms_file-4.0.1.tar.gz
Algorithm Hash digest
SHA256 c5f7415d367c72e38dd3c31e9de97742b31a9eed91c4b6dd38affe22149689c4
MD5 59e8691906e1f01dd5fec9fe2bd5ca25
BLAKE2b-256 b8ed195b5b794d66ba512f4443b1edd2047d6a34431d94713a301672b29ed39f

See more details on using hashes here.

Provenance

The following attestation bundles were made for djangocms_file-4.0.1.tar.gz:

Publisher: publish-to-live-pypi.yml on django-cms/djangocms-file

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file djangocms_file-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: djangocms_file-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 137.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for djangocms_file-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e15f5f2e1e84e2d4c20c1fa8db6f76cef379f742dfcd99b7f559c605dd50bddc
MD5 be74c5734687fe63b62b2c94b2b188a1
BLAKE2b-256 242e66f7e92f81ac0561d5b93244195a00e1eec2e12822f09795a96269dfa09f

See more details on using hashes here.

Provenance

The following attestation bundles were made for djangocms_file-4.0.1-py3-none-any.whl:

Publisher: publish-to-live-pypi.yml on django-cms/djangocms-file

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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