用戶認證組件auth

django有自帶的用戶認證組件:自動用session記錄登錄驗證狀態,將用戶名和密碼錶存在了dajngo自帶的auth_user裏。html 用戶表:dajngo自帶的auth_user (不在models裏建立表,直接作數據庫遷移,查看數據庫由auth_user表) 控制檯建立超級用戶:python3 manage.py createsuperuser 主要語法: auth模塊:fro
相關文章
相關標籤/搜索