如何在django中實現多用戶類型

原文地址:https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html 規則: 1.即使有多個用戶類型,也儘量用一個model來進行登錄驗證. 比如有teacher和student兩個用戶類型,建模的時候,用於登錄驗證的model應該用同
相關文章
相關標籤/搜索