File management solution for Masonite
Project description
filemanager
Introduction
A simple yet powerful file management solution for your masonite application.
Features
- Manager Server Files (Currently only supports local files)
- Upload Files
- Preview Files
- Rename Files/Folders
- Delete Files
- Download Files
- Move Files
- Protect Routes
- FileManager FormField
- Image Editing
- Third Party Driver Support (S3, DigitalOcean Space, etc)
Installation
pip install masonite-filemanager
Configuration
Add FileManagerProvider to your project in config/providers.py
:
# config/providers.py
# ...
from filemanager.providers import FileManagerProvider
# ...
PROVIDERS = [
# ...
# Third Party Providers
FileManagerProvider,
# ...
]
Then you can publish the package resources (if needed) by doing:
python craft package:publish filemanager
Finally add following to STATICFILES
section in config/filesystem.py
:
# config/filesystem.py
STATICFILES = {
# ...
# FileManager resources
'resources/vendor/filemanager': 'filemanager-assets/',
"storage/framework/filesystem/filemanager": "filemanager-uploads/",
}
Usage
Once finishing configurations, you can access the file manager by using the following route:
http://localhost:8000/filemanager
Contributing
Please read the Contributing Documentation here.
License
masonite-filemanager is open-sourced software licensed under the MIT license.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for masonite_permission-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3d5782ec67fc20b0795d3446667859be548796181a1e16057f45968bfc9adc |
|
MD5 | 67e775a23ebd1e816c428bc007722d40 |
|
BLAKE2b-256 | b6b9d5760110dc82941e795af9bca9df4a42b167db48cad0260cc8efcd5fca85 |