Skip to main content

Django app for managing user files uploads and permissions

Project description

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.

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_user_images-0.1.0-py2.py3-none-any.whl (9.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jun 9, 2018
django-user-images-0.1.0.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None Jun 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page