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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for filebrowser_safe-1.0.0a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e89db1dd059b3a88a25fe2cb65546c28faf6f72b2fd4b12e0f35a031518889a |
|
MD5 | b8d76f558c079afc7d371cc799a50a16 |
|
BLAKE2b-256 | fed9eddae73acb151bb88316a4e5685fbbc3b59095389a9377193549355bdc27 |