go tag

327 questions


1 answers
45 views
0
I have a question about the django form save method.

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...

2 years ago

1 answers
47 views
0
django foreign key question.

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...

2 years ago

1 answers
100 views
0
I have a question for ffmpeg. (Python, Django linked)

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...

2 years ago

3 answers
131 views
0
In the Go language function parameter transfer

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...

2 years ago

1 answers
76 views
0
I have a question about saving files in the awsec2 directory

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...

2 years ago

1 answers
48 views
0
I would like to ask you how to keep the selected value even if it is reloaded.

Hello, <select id=test name=num onchange=this.form.submit()> <option value=> ---------------------------- Not Selected ---------------------------- </option> <option value=1>1&...

2 years ago

1 answers
126 views
0
Front: React Backend: Longguo questions

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...

2 years ago

1 answers
54 views
0
I have a question about using Ajax in django.

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...


1 answers
46 views
0
How to store data in DB

# 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...

2 years ago

1 answers
148 views
0
I have a question about django+axios csrf 403.

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 ...

2 years ago
« - 31 - »

© 2024 OneMinuteCode. All rights reserved.