Django presents visual charts in many ways
1. Preface
When using Django for Web development, there is often a need to display charts to enrich the data display of Web pages. Common schemes include Highcharts, Matplotlib, Echarts and Pyecharts. The latter two schemes are used more frequently. This article will talk about the specific process of chart visualization by Django combined w ...
Posted by thereo on Tue, 18 Jan 2022 15:19:10 +0100
Nginx deployment Django Python virtual environment creation fool tutorial
The relationship between uwsgi and nginx is not discussed here, but learning is recommended
Generally speaking, Nginx can ensure load balance when your web page supports more requests,
Simple web pages can also meet the requirements with uwsgi deployment and django runserver, so the load capacity is
Nginx > uwsgi > local django runse ...
Posted by tim_ver on Mon, 17 Jan 2022 04:09:59 +0100
Django framework learning -- 2 -- routing configuration & request
The core content of this article:
1. Two different routing configuration methods
2. Related concepts of post and get requests and their interaction with browsers
1. General routing configuration method
settings. "ROOT_URLCONF" in py specifies the location of the urlpatterns confi ...
Posted by mmj on Sun, 16 Jan 2022 22:34:50 +0100
How to output Django log to Socket
This paper is a group[
905329304 (my QQ water blowing group)], a big man asked a question I will share solutions to interesting problems. It is convenient for leaders to put forward their valuable opinions
Handlers
Intercepting the words in the document: the Handler is the engine that determines how to process each message in the logger. ...
Posted by john8675309 on Sun, 16 Jan 2022 20:28:56 +0100
Django Vue blog: user management
In the previous chapter, we rewritten the authentication mechanism of django. This chapter enriches the user api, that is, the addition, deletion, modification and query of users.
user management
User management involves operations on passwords, so write a new serializer and override def create(...),def update(...) method:
# user_info/seria ...
Posted by dartcol on Sat, 15 Jan 2022 22:16:09 +0100
python web development test driven method learning notes 1
Part I TDD and Django Foundation
Chapter 1 using functional testing to assist in the installation of Django
(1) Get Django running
Creating files: functional_tests.py
from selenium import webdriver
browser = webdriver.Chrome()
browser.get('http://localhost:8000')
assert 'Django' in browser.title
Create directory: Django admin start ...
Posted by jwb666 on Wed, 12 Jan 2022 12:24:37 +0100
Design of multifunctional Web security penetration testing tool based on Python Django
Project introduction
System introduction
This project, named sec tools, is a multi-functional Web application penetration test system based on Python Django, including vulnerability detection, directory identification, port scanning, fingerprint identification, domain name detection, side station detection, information leakage detection and o ...
Posted by Keith Scott on Wed, 12 Jan 2022 04:29:55 +0100
How to delete files under migrations without causing any errors
Reproduced at: https://blog.csdn.net/gaifuxi9518/article/details/86591806
1. Data sheets are not consideredFirst, delete the data table under the relevant APP in the databaseThen delete all files in the migration module under APP, except init Py fileExecute the following command
python manage.py makemigrations
python manage.py migrate
2. Rete ...
Posted by twilightnights on Wed, 12 Jan 2022 02:29:53 +0100
Python Development-Web Django Framework Foundation
Django Foundation
Django
Django is a tripartite Library of python and a web framework (product-level, MTV model) for building a web backend.
Create a project django-admin startproject myweb Create an application python.exe .\manage.py startapp helloapp Run the project python.exe .\manage.py runserver
Create a web framework project
djan ...
Posted by gasper000 on Mon, 10 Jan 2022 19:17:54 +0100
Django learning record
Django development
Install django
Install django: pip3 install django==2.2.12
Check the django version installed: python -m django --version
Create project
django-amdin startproject mysite
Start service
1. Enter project folder
2,python3 manage.py runserver
Change port number
python manage.py runserver port number
Project structure
man ...
Posted by sgalatas on Wed, 05 Jan 2022 08:01:48 +0100