所以,真正好的設計,應該是結合方法1和方法3,直觀上讓匿名用戶不會誤入登入限定的頁面,也 ... from django.contrib.auth.models import User, Permission >>> user ...
確定! 回上一頁