Skip to main content

PyPI GitHub last commit

A file stream application for DjangoRestFramework

Installation

python3 -m pip install drf_filestream

Usage

  • edit project/settings.py
from rest_framework import permissions

INSTALL_APPS += [
    'drf_filestream',
]

MEDIA_ROOT = 'data/'  # default: /

FILE_ACCESS_PERMISSIONS = [permissions.IsAuthenticated]

Demo

git clone https://github.com/suqingdong/drf_filestream.git

cd demo

python3 -m pip install -r requirements.txt

python3 manage.py createsuperuser

python3 manage.py runserver

Download files

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

Source Distribution

drf_filestream-1.0.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_filestream-1.0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file drf_filestream-1.0.1.tar.gz.

File metadata

  • Download URL: drf_filestream-1.0.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3

File hashes

Hashes for drf_filestream-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3ee9965a834bc97e9b18cde09b58f654d392cdb364d3b82070ee9df837d746fe
MD5 138befdb270ced862f3b194f75114fdd
BLAKE2b-256 11e36f4937b23fa690a0e5747b198d00a02d619eb57642af4e6677be35c70f01

See more details on using hashes here.

File details

Details for the file drf_filestream-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: drf_filestream-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.3

File hashes

Hashes for drf_filestream-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d4da2f1221b8ba16cc4758931202fb9533eb55f59cacbdc66a9c745944c9996
MD5 d15a6272352f648cd7e335722441d0ad
BLAKE2b-256 5df115e0418a72b015bf16092be89766cab507267f1e5acc2a07445336c832d7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page