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

Metadata

Release files for drf-filestream 1.0.1

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

Source distribution (sdist)

Source distribution for drf-filestream 1.0.1
File Size Uploaded
drf_filestream-1.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drf-filestream 1.0.1
File Interpreter ABI Platform
drf_filestream-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / drf_filestream-1.0.1.tar.gz

Download URL drf_filestream-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3ee9965a834bc97e9b18cde09b58f654d392cdb364d3b82070ee9df837d746fe
BLAKE2b-256 checksum
How to use checksums
11e36f4937b23fa690a0e5747b198d00a02d619eb57642af4e6677be35c70f01
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / drf_filestream-1.0.1-py3-none-any.whl

Download URL drf_filestream-1.0.1-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d4da2f1221b8ba16cc4758931202fb9533eb55f59cacbdc66a9c745944c9996
BLAKE2b-256 checksum
How to use checksums
5df115e0418a72b015bf16092be89766cab507267f1e5acc2a07445336c832d7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 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