Skip to main content

django-uploadstatic

This is a Django app that provides helpers for uploading static files.

It is based off of github.com/jezdez/django-staticfiles but only uploads all the files in the collected STATIC_ROOT to S3 using the storages.backends.s3boto.S3BotoStorage storage backend in the django-storages app.

Installation

  • Use your favorite Python packaging tool to install uploadstatic from PyPI, e.g.:

    pip install django-uploadstatic
  • Added "uploadstatic" to your INSTALLED_APPS setting:

    INSTALLED_APPS = [
        # ...
        "uploadstatic",
    ]
  • Set your STATIC_URL setting to the URL that handles serving static files from S3:

    STATIC_URL = "https://s3.amazonaws.com/some-domain/"
  • Once you are ready to upload all static files that have been collecte in your site’s STATIC_ROOT, use the uploadstatic management command:

    python manage.py uploadstatic

    Then your files will be accessible from the STATIC_URL setting.

Metadata

Release files for django-uploadstatic 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-uploadstatic 0.3.0
File Size Uploaded Provenance Actions
django-uploadstatic-0.3.0.tar.gz 15.0 kB Without provenance Details for django-uploadstatic-0.3.0.tar.gz

Release files / django-uploadstatic-0.3.0.tar.gz

Download URL django-uploadstatic-0.3.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9f3604470b97f9eb0aa655ff896cfe213438b5cf790029a2d52b1c4d0513d986
BLAKE2b-256 checksum
How to use checksums
206d720aef019d7ee0a97ee409444a47c39b61c22e7ec926a143cf744fdeef6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-uploadstatic 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page