you can get data normally by using postman request. request using web page with error message: { "detail ": "CSRF Failed: CSRF cookie not set. "} how to solve this? ...
now after I use django restfulframework to write the back-end code and deploy it to the server through nginx+uwsgi, enter ip to display the API page. Now, after the front-end code is taken, how to deploy it and enter ip to display the home page instead o...
I, Xiaobai, want to do a P2P file transfer website in the local area network during the winter vacation. The assumption is: after entering this web page, you can choose to send or wait for receiving. After choosing to send, you can send files to other us...
for example, as shown in the code, there are three tables, the city, the area, the house, the city to which the house belongs and the area to which the house belongs. I hope that when entering data in the background, I select the option that the city ca...
my django project Subject accounts courses views.py tests test_models.py subject test_models.py: from django.core.urlresolvers import reverse from django.test import TestCase from .models import MultiSub...
] [2] it is said that the mysql version is too high. I don t know how to reduce it. Ask for the answer of the Great God ...
failed to test ViewSet reverse getting route name in Django Rest Framework urls.py: -sharp course chapter without lesson course_chapter_router = DefaultRouter() course_chapter_router.register(r , courses.views.CourseChapterViewSet, ...
how to use js post to django data in django to receive JS similar to this str = {"student":[{"number":"0","name":"a"}]} ; obj = JSON.parse(str); look at the data in chrome like this [student][0][...
made a website, the search engine just had a little traffic, and found that the website was mirrored, but fortunately, it was not robbed of traffic. I came to ask django how to prevent the website from being mirrored. ...
the foreground is index.html of vue ...
render (request, index.html , { index :index}) would you like to ask whether the dictionary type parameter of the index returned later can return more than one parameter at the same time? for example,: render (request, index.html , { index :...
python 3.6 Django 2.0.4 url matching error when developing a website, want to help me point out the mistake: NoReverseMatch at CetTopic Reverse for personal_info with arguments ( ,) not found. 1 pattern (s) tried: [ CetPersInfo (? P < ...
at present, I have obtained the product details through the crawler. I want to submit and save the product information to my item table through post, and put it into the shopping cart while saving the data. The product information in the shopping ca...
http services of go, such as those from the gin framework, have interfaces that clearly distinguish between different method and execute different handler. Does django not distinguish between different method?? ...
I have developed a django+Vue application locally, and now I m going to configure it to the nginx server on Tencent Cloud s server. Now I m going to clone the project to the server with git, and then the npm build Vue part will configure django to ngi...
first log in to the ip:port login interface through form submission and execute the do_login function in view.py. If the login is unsuccessful, I want to jump to the original ip:port login, and carry the error message. if I return via rerener (reque...
requirements: use Nodejs to send buffer (read data returned from files) type data to the backend through http.request using post type, and the backend is the Django framework. question: requestpostchunkNoderequest.write(buffer),post Nodej...
1 error such as screenshot 2 system: win10 + PyCharm 2017.2.3 x64 + python3.6.2 + Django2.04 ...
I want to transfer the array of objects to the background using post. This is how I pass it: Http({ method: POST , url: addGroup , data:qs.stringify({ list :this.excelData }) }) ...
want to use django to develop a resume recruitment system, ask which corporate member and individual member. Is it better to use one User model or to design two? I have now created a new users app, class User (AbstractUser): xxx then the next s...
I m studying how to use vue in native app. I m going to read the weex document with weex for a while, but I still can t read it. Let s ask the masters how to add the dependency of weex to native app. Will you give me some advice from the gods who kn...
1. Using a fade-in-and-out rotation diagram of vue, the effect of the rotation map is available, but only if you click on the first one or rotate to the first one can you fade in and out. The rest are very stiff, so you want to know how to solve templ...
problem description how to implement the format group by XJ y in django the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do not replace the code with pictures) want...
my requirements are like this: word document type is xml, open with a text editor to see the following code (I only copied the header part of the code) how java can convert it to word type doc documents, Apache s poi seems to only convert word docume...
when watching the js game engine, there is a situation of automatic horizontal screen and automatic vertical screen. When the mobile end develops a mobile page similar to a game (there is no need to use the game engine), the game page design is likely to...