django tag

257 questions


1 answers
136 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

1 answers
64 views
0
I have a question about django KeyError

It implements the function of receiving file url, video fps, and video scale values from the browser using the current longYes.The problem occurs when you receive three values in dictionary form throu...

2 years ago

1 answers
37 views
0
It's a question from Python Json

// Enter code hereurl = https://8oi9s0nnth.apigw.ntruss.com/corona19-masks/v1/storesByAddr/jsonHello, I'm a beginner studying PythonI received json as url, but I want to bring up only certain values i...

2 years ago

1 answers
36 views
0
This is a question to remove a specific key (name) from the data received by python json

// Enter your code hereurl = https://8oi9s0nnth.apigw.ntruss.com/corona19-masks/v1/storesByAddr/jsonjdata = jdata['stores']I want to show the dictionary corresponding to stores and delete and show cer...

2 years ago

1 answers
39 views
0
Python is a question that randomly expresses a set value.

for(i=0; i < data.length; i++){ data = data.replace(plenty,100).replace(some,50).replace(few,20).replace(break,5).replace(null,2).replace(empty,1).replace(undefined,3).replace(NaN,7).replace(undef...

2 years ago

1 answers
39 views
0
I have a question about django template

I want to print out only those variables from the User Model below and show them to the user, so could you tell me what to do? {% for users in object_list %} <li class=user>{{ user }}</li&g...

2 years ago

1 answers
83 views
0
Django + Bootstrap error (django.template.exception.templateSyntaxError: Unknown argument for 'include' tag: 'width="100%")

In one of the bootstrap examples, we implemented the album example in django, and when you run the runserver command in managy.py, the message django.template.exception.TemplateError: Unknown argument...

2 years ago

1 answers
94 views
0
This is a question about the Korean encoding problem in Python django json response

def vanalysis(request): device = Device.objects.all() locations_list = list() for d in device: try: location = d.dev_name.split(';')[2].split(' ')[0] except Exception as e: location = 'Data error'...


1 answers
130 views
0
I have a question for Flask ORM query statement. Calculating Daily Statistics

First of all, the point of the question is to calculate daily statistics based on DB data You are about to import it.I'm trying to implement it through the ORM query statement method, but the logic is...


1 answers
59 views
0
What is the basis of the markdown editor used in hashcode?

I want to put a text editor in the django project, but there is nothing suitable, so I am posting a question.I like the text editor I used in the hash code, so can you tell me what it is based on?

2 years ago
« - 25 - »

© 2024 OneMinuteCode. All rights reserved.