A tus library for Django REST Framework.
Install drf-tus:
pip install leukeleu-drf-tus
Add it to your INSTALLED_APPS
:
INSTALLED_APPS = (
...
'rest_framework_tus',
...
)
Add the middleware to MIDDLEWARE
:
MIDDLEWARE = (
...
'rest_framework_tus.middleware.TusMiddleware',
...
)
Add drf-tus's URL patterns:
urlpatterns = [
...
path('', include('rest_framework_tus.urls', namespace='rest_framework_tus')),
...
]
This library implements the following TUS API v1.0.0 protocols:
Does the code actually work?
docker compose exec python make coveragetest