Skip to main content

Django app to explore directory.

Project description

Django File Explorer

A django app to explore the host machine directory.

It will provide following features:

  1. Allow user login
  2. Allow to set roles for user to delete and download directories.
  3. Allow user to upload single file.

Installation

Following command will help to install the package.

pip install django-file-explorer

Setup

  1. Add the app to setting.py file in INSTALLED_APPS section.
INSTALLED_APPS = [
    ...
    'explorer.apps.ExplorerConfig',
]
  1. Make the migrations
python manage.py makemigrations
python manage.py migrate
  1. Add URL to urls.py file.
from django.urls import include

urlpatterns = [
    ...
    path('explorer/', include('explorer.urls'), name='explorer')
]
  1. Add following actions to database
    1. download
    2. delete
    3. 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


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)

Uploaded Source

Built Distribution

django_file_explorer-1.2.1-py3-none-any.whl (32.8 kB view hashes)

Uploaded 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