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.1.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.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_s3files-0.0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6f9281af57c3828f0b05f1d3db9609203b870792d9668ba0200fae9f72cb61aa
MD5 2576a078e9457f6de521618333b12c6b
BLAKE2b-256 234bb2415cea83c4d5e877da27a0837c2960ebccc54b8c7f71ec633bbf922f54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_s3files-0.0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b502e7154cf7d1b35fdf96aa1e01c2d06b00e443ef1e63ca5eaaf3f0eb26e79d
MD5 057f35b2b19a9ce466987542535d1813
BLAKE2b-256 c8b01d300d41109c4f622139074e88df0c1ff8bc955d4a67594314a977e93340

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