在官方文档里只找到user的几种方法,但没看到能 get_last_login 的方法:
https://docs.djangoproject.com/en/1.8/ref/contrib/auth/#django.contrib.auth.models.AnonymousUser
class models.User
get_username()
is_anonymous()
is_authenticated()
get_full_name()
get_short_name()
请问是要自己去数据库里寻找。。。还是有其他我不知道的方法。