Skip to main content

Django AWS S3 File Manager enables you to manage files directly from the Django admin interface, allowing you to read, upload, and delete files without directly accessing AWS.

Project description

Django AWS S3 File Manager (django-s3files)

Description

Django AWS S3 File Manager enables you to manage files directly from the Django admin interface, allowing you to read, upload, and delete files without directly accessing AWS.
It seamlessly integrates with django-storages.

Documents

Installation

Installing from PyPI is as easy as doing:

pip install django-s3files

Settings

  1. Add django-s3files to your INSTALLED_APPS in settings.py.

  2. Add include url above your admin url. You can change the url as you wish.

    urlpatterns = [
        path('admin/s3files/', include('s3files.urls')),
        path('admin/', admin.site.urls),
    ]
    

Authentication Settings

  • AWS_ACCESS_KEY_ID (required)
  • AWS_SECRET_ACCESS_KEY (required)
  • AWS_S3_REGION_NAME (required)
  • AWS_STORAGE_BUCKET_NAME (required)
  • AWS_STORAGE_BASE_DIR (str: '')
  • PER_PAGE (int: 25)
  • SHOW_THUMBNAILS (bool: False)

URL

Your file manager URL will be the include URL defined in step 2 of the settings, followed by /browse.
For example: https://example.com/admin/s3files/browse.

Dependencies

The package works with any version of Python 3, tested with Django==4.2, and requires boto3==1.37.38. Other versions have not been tested.

Contributing

  1. Check for open issues at the project issue page or open a new issue to start a discussion about a feature or bug.
  2. Fork the django-storages repository on GitHub to start making changes.
  3. Make sure the bug is fixed or the feature is implemented correctly.
  4. Wait for me to merge the pull request.

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_s3files-0.0.4.2.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_s3files-0.0.4.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file django_s3files-0.0.4.2.tar.gz.

File metadata

  • Download URL: django_s3files-0.0.4.2.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for django_s3files-0.0.4.2.tar.gz
Algorithm Hash digest
SHA256 d8a59bb2a5975a415e30065b46164c1d5b0822986b3e7b877b3567690a0272fa
MD5 a04e22fe6d55301260be9a8532f3a8ad
BLAKE2b-256 668ebca59d12692b60d19018e7e532beb3beacde85df5888e1e8fb6f4d5dee98

See more details on using hashes here.

File details

Details for the file django_s3files-0.0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_s3files-0.0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4feda0beacd7c98feefb9b8ec08e77ad3da8040f87e03024a6b20785b6cc1e53
MD5 e967d7e186487f923f77751a7b6725c2
BLAKE2b-256 6bc3de584a5ad22ec4c6cbe290eb5c22dfd67e7130887dc27a024f966322fc3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page