Skip to main content

django-models-extensions

Django Models Extensions

Installation

pip install django-models-ext

Usage

from django_models_ext import BaseModelMixin, upload_path, upload_file_url

class MyModel(BaseModelMixin):
    upload = models.FileField(upload_to=upload_path)

    @property
    def upload_url(self):
        return upload_file_url(self.upload)

Metadata

Release files for django-models-ext 1.1.11

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-models-ext 1.1.11
File Size Uploaded Provenance Actions
django-models-ext-1.1.11.tar.gz 4.4 kB Without provenance Details for django-models-ext-1.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-models-ext 1.1.11
File Interpreter ABI Platform Actions
django_models_ext-1.1.11-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_models_ext-1.1.11-py2.py3-none-any.whl

Total release size: 9.8 kB

Release files / django-models-ext-1.1.11.tar.gz

Download URL django-models-ext-1.1.11.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ea6c2ed60eab656cd185b8319344c0de61fbb52fc3d6d064f2cd8d60a4beb405
BLAKE2b-256 checksum
How to use checksums
953329562a1b2c4c3474871b23c29e3c1c7eda60a85e612d98ebc495611857dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / django_models_ext-1.1.11-py2.py3-none-any.whl

Download URL django_models_ext-1.1.11-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0c1b31e9023462fe0837d2b4364ed52aa666627c4e3e534ccfdd9398f4925275
BLAKE2b-256 checksum
How to use checksums
f8fb868ab6a005d7e3e615d5e8a833b034f19da665709d1bb6e26abf12b4e8c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for django-models-ext 1.1.11

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.

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