Answer the question
In order to leave comments, you need to log in
How to make django work with video content?
I'm looking for a way to add video files from a mobile application, the backing of which is written in django.
Methods:
1. Add video from previously saved (local file)
2. Start shooting video directly from the application, with a maximum duration of 30 seconds and the ability to download (save) it at any time.
If everything is more or less clear with the first method, do something like
class Document(models.Model):
file = models.FileField(upload_to="documents/%Y/%m/%d", validators=[validate_file_extension])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question