Python full stack (ten) Django framework 14. File upload, login status and context processor

Preface

This article first introduces the file upload, including the use of the common method and the model. There are two ways to specify the upload path, and the file extension can be restricted. Then introduced two ways to save the login status-Cookie and Session, including basic concepts and operations

Guess you like

Origin blog.csdn.net/CUFEECR/article/details/108881374