drf-filestream 1.0.1

Creator: danarutscher

Last updated:

Add to Cart

Description:

drffilestream 1.0.1

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.