Skip to main content

A snapshot of the filebrowser_3 branch of django-filebrowser, packaged as a dependency for the Mezzanine CMS for Django.

Project description

Overview

filebrowser_safe is a permanent fork of FileBrowser asset manager for Django, to be referenced as a dependency for the Mezzanine CMS for Django.

At the time of filebrowser_safe’s creation, FileBrowser was incorrectly packaged on PyPI, and had also dropped compatibility with Django 1.1 – filebrowser_safe was therefore created to address these specific issues.

For further details, see Why are Grappelli and Filebrowser Forked?.

Development

After cloning the repository, install the package with the extra testing requirements and run tox. This will ensure you are running the tests the same way as our CI server:

pip install -e ".[testing]"
tox # Use the --parallel option to run tests in parallel (faster)

You might get some InterpreterNotFound errors due to not having all Python versions available in your system. That’s okay as long as you’re able to successfully run the test suite for at least one Python version.

Python code is enforced with flake8 and black. tox will verify both for you. For your convenience you can run the command tox -e format to fix most (but not all) linter errors. Alternatively you can configure your code editor to lint and format according to the rules defined in setup.cfg to catch code style errors as you develop.

When you are ready to contribute your changes create and submit a pull request for review. This will run all tests in all supported Python versions and alert if any of them fail.

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

filebrowser_safe-1.0.0a1.tar.gz (80.6 kB view hashes)

Uploaded Source

Built Distribution

filebrowser_safe-1.0.0a1-py2.py3-none-any.whl (134.2 kB view hashes)

Uploaded Python 2 Python 3

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