Backend
Frontend-Backend Symmetric Encrypted Transmission - AES
· β˜• 4 min read
1. Basic Concepts Symmetric encryption: Symmetric encryption is an encryption method that uses a single-key cryptosystem, in which the same key is used both to encrypt and to decrypt the information. Because it is fast, it is often used to encrypt the transmission of large amounts of data. DES (Data

Django Signals
· β˜• 3 min read
1. Basic Concepts Django ships with a signal dispatcher built in. Signals help decouple program modules. When an event occurs elsewhere in the application, a designated function is notified. Signals let certain senders notify a group of receivers that some action has taken place. 2. Using Signals 2.1 Declaring a

Django Class-Based Views
· β˜• 2 min read
Django has two kinds of views: function-based views and class-based views. The role of a view is mainly to fill in logic and return a response body. Function-based views are hard to extend and have a low rate of code reuse. Class-based views, on the other hand, can use inheritance

Permission Management in Django REST Framework
· β˜• 3 min read
1. Permission Management in DRF Permission management in Django REST Framework consists of two parts. One is Authentication. It specifies how the user is authenticated, obtaining request.user. The other is Permissions. It performs permission control over Django resources and user categories. 1.1 Authentication Methods The relevant source is in the rest_framework/authentication.

Django Third-Party Component List
· β˜• 2 min read
Awesome-Django A collection of Django apps, projects, and resources. Django-Packages A large number of Django third-party components. Django-Mptt Store hierarchical data structures in the database. Django-Rest-Framework Automatically generate RESTful APIs. Django-Rest-Framework-Jwt Provides token authentication for Django-Rest-Framework. Django-Tastypie Automatically generate RESTful APIs. Django-Cors-Headers Solves the problem of cross-origin access. Django-Ckeditor Rich text support for Django.