Skip to main content

Django User Images

https://badge.fury.io/py/django-user-images.svg

Django app for managing user files uploads, permissions and limits

Quickstart

Install Django User Images:

pip install django-user-images

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_user_images',
    ...
)

If you want to use it with DRF, use django-user-images.rest:

INSTALLED_APPS = (
    ...
    'django_user_images.rest',
    ...
)

Configuration

  • USER_IMAGE_ONE_FILE_LIMIT - limit one file size upload in bytes

  • USER_IMAGES_LIMIT - limit total file size per user, static in bytes

  • USER_IMAGES_LIMITER - limit total file size per user, dynamic. Should be a string pointing to function, accepting user instance and returning limit in bytes

Credits

Tools used in rendering this package:

History

0.1.0 (2018-06-06)

  • First release on PyPI.

Metadata

Release files for django-user-images 0.1.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-user-images 0.1.0
File Size Uploaded
django-user-images-0.1.0.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-user-images 0.1.0
File Interpreter ABI Platform
django_user_images-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 17.3 kB

Release files / django-user-images-0.1.0.tar.gz

Download URL django-user-images-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e7fa08233577f115957bf7304ce465f7075ce55018bccae047bb42e26408479c
BLAKE2b-256 checksum
How to use checksums
be582c673fbd731af83fd54a1a4cd9ef776bd6cf57940d82eed302c08e4c2370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_user_images-0.1.0-py2.py3-none-any.whl

Download URL django_user_images-0.1.0-py2.py3-none-any.whl
Size 9.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd7533917a2487b48351358aff32e22b3566c92cb81f52c045a10a0963a47413
BLAKE2b-256 checksum
How to use checksums
ccebfe8656ccaadfb752ef212c74c3cd54935ce0978f701fbe55edf76e765868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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