Posts
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.

Django Template Inheritance
· β˜• 2 min read
1. The Scenario In a project, elements such as the header and footer are often reused. To avoid rewriting these elements on every page, and so that a change does not require editing each page individually, the common parts need to be extracted β€” that is Django template inheritance. 2.

ECMAScript 6 Primer
· β˜• 1 min read
Author: Ruan Yifeng Publisher: Publishing House of Electronics Industry Publication year: 2014-8-1 ISBN: 9787121238369 E-book

Django Decorators
· β˜• 2 min read
When developing with a separated front end and back end, some of the API endpoints provided to the front end use GET requests and some use POST requests. To keep the back end from throwing an error while reading values from request in views.py, you had to check the request