Django runningerver - cannot serve video files

When starting Django in local mode using the runerver command, the video files do not load properly in the browser. I get an error

An error occurred while loading the resource.

All other static files are great, such as images, javascript and css.

+4
source share
2 answers

I finally found the answer, Django runningerver does not support byte range requests. See this topic:

https://groups.google.com/forum/#!msg/django-developers/NZ1qTkZ6vok/fhdz7rTtL1EJ

And this ticket:

https://code.djangoproject.com/ticket/22479

+7
source

Try to run

python manage.py collectstatic

, STATIC_ROOT STATICFILES_DIRS .

0

Source: https://habr.com/ru/post/1669427/


All Articles