327 questions
I want to receive the file url from the front desk, convert it into a file, and save it to fileField.Receive the file url in POST format and override the form.py save() method The process of extractin...
You are trying to save the file through the django foreign key.First, extract the file from url that came in through view.py The process of saving a file to a foreign key.#models.pyclass UploadModel(m...
I have a question about ffmpeg and Python linkage.ffmpeg is usually run in the command window, for example, file conversion'ffmpeg -i video.mp4 out1.avi'The command saves out1.avi to the root path.But...
type Brand struct { Idx string `json:idx` Code int `json:code` Name string `json:name`}brands := make([]*Brand, 0)r.DB.Raw(query).Scan(&brands)DB data is added to the brands variable with the abov...
We are currently working on a project to create a program that converts video files.The most worrying part of the process is the aws loading part.I received the video file that I plan to convert to fi...
Hello, <select id=test name=num onchange=this.form.submit()> <option value=> ---------------------------- Not Selected ---------------------------- </option> <option value=1>1&...
We are developing a chatbot using React and Jango.What I want to do now is to send it to the server when the user enters a message at the front deskYou have to make a move and return the appropriate a...
Hello, I want to receive the select value using ajax, process the data accordingly, and then show it to the next select value, but I don't know how to process the data processed by ajax when I transfe...
# model.pyfrom django.db import models# # Create your models here.class Weather(models.Model): Temperature = models.CharField(max_length=20) Humidity = models.CharField(max_length=20) Check_Time = mod...
Currently, the front is configured using View and Axios, and the server side is under project with django.csrf 403 error while sending video file to server.What I did to prevent csrf error now is The ...
« | - 31 - | » |
© 2024 OneMinuteCode. All rights reserved.