In previous chapters, we used form to submit requests. In this chapter, we will learn a new way to submit requests: Ajax. It is a new way to interact with the back end. Let's learn about it!
1, What is Ajax
Posted by ajanoult on Tue, 08 Mar 2022 22:15:00 +0100
Dry goods content
1. Introduction to Django MTV mode 2. File upload function under Django 3. Implement VirusTotal API call under Django
0x0 introduction to Django framework
At present, many Web frameworks are developed based on MVC development mode. Django is also very similar, but it is based on MTV development mode. Here is a brie ...
Posted by dannyluked on Tue, 08 Mar 2022 15:13:56 +0100
Generally, the form page needs to fill in the mobile phone number. To verify whether the mobile phone number entered by the user is correct, we need to use the regular expression to match the mobile phone number segment. If it is in the operator number segment, the number is correct. Therefore, it is necessary to know the latest segment number ...
Posted by dila125 on Mon, 07 Mar 2022 02:04:50 +0100
Download UEditor source code from the official website. There is no UEditor in the downloaded source code all. JS file. You need to use grunt to package the source package into a deployment Version (including ueditor.all.js file)
Install node jsGlobal install grunt (NPM install - G grunt CLI)The command line switches the director ...
Posted by jami3 on Fri, 04 Mar 2022 22:50:34 +0100
preliminaryinstall and usagepros & cons supervisor
install and usage
Gunicorn 'Green Unicorn' (pronunciation jee-unicorn | green unicorn | gun-i-corn) is a widely used Python WSGI UNIX HTTP server, transplanted from Ruby's Unicorn project, using a pre-fork working mode, which is simple to use, ...
Posted by Nommy on Thu, 03 Mar 2022 22:47:02 +0100
Session and Cookie
The information saved on the client browser by the server can teach cookie s
The expression form is generally k:v key value pairs (can be multiple)
Random string 1: user 1 related information
Random string 2: User 2 related information
The data is saved on the server
The expression ...
Posted by timecatcher on Thu, 03 Mar 2022 22:32:15 +0100
Django is simply used to provide the back-end interface for wechat applet. I am responsible for the back-end interface and my classmates are responsible for the front-end. We tested that there is no problem with the get request, but when sending the post request, the return values received by the front-end are always 500 and 403. (PS: if you wa ...
Cookies and session s
Keep the session state and record login, browsing and other information From opening the browser to visit a website to closing the browser to end the visit, it is called a session http protocol is stateless, which makes it difficult to maintain the session
cookie and session are two storage technologies born to maintain ...
Posted by xtian on Sun, 27 Feb 2022 00:56:09 +0100
I would like to dedicate this article to those friends like me who are confused about linux system servers! Don't be afraid, be bold and patient. If you can't, reset the server and start from scratch
** *Huawei has tried to use the cloud image server yum for 8 months. As a result, Huawei has not been able to use the cloud image for the mos ...
Posted by matthewc on Sat, 26 Feb 2022 15:05:59 +0100
The 8th meeting of django framework
Introduction to AJAX
Posted by DirtySnipe on Sat, 26 Feb 2022 05:46:45 +0100