Django app to explore directory.
Project description
Django File Explorer
A django app to explore the host machine directory.
It will provide following features:
- Allow user login
- Allow to set roles for user to delete and download directories.
- Allow user to upload single file.
Installation
Following command will help to install the package.
pip install django-file-explorer
Setup
- Add the app to setting.py file in INSTALLED_APPS section.
INSTALLED_APPS = [
...
'explorer.apps.ExplorerConfig',
]
- Make the migrations
python manage.py makemigrations
python manage.py migrate
- Add URL to urls.py file.
from django.urls import include
urlpatterns = [
...
path('explorer/', include('explorer.urls'), name='explorer')
]
- Add following actions to database
- download
- delete
- upload
Add volumes to database by specifying its name and path. After that define the user roles for specific volume in user roles table.
Run
Go to explorer url SERVER:PORT/explorer and explore the volumes.
Author
Tahir Rafique
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
django-file-explorer-1.2.1.tar.gz
(19.5 kB
view hashes)
Built Distribution
Close
Hashes for django-file-explorer-1.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6636303726d88391d084ce406122c80710edd71a656450992060e6ad6e6d27f |
|
MD5 | 3ef33ba8777fee52c052cea0fa75276f |
|
BLAKE2b-256 | c4480d0c75479635a8f9bb53bd0b8206baf0a8bcd881cb8b23bf3dfe93e242d4 |
Close
Hashes for django_file_explorer-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d363ae3659290095470d7587166380408f795b3aade6207f1a52bc625be9af5 |
|
MD5 | 5ba0af4027e010a0e8f35525123380d0 |
|
BLAKE2b-256 | 2a826aa2bbdd36ea7950c5781d8a6c73c915961cf00d944298cbbe9becd19c43 |