English 中文(简体)
Django的匿名用户
原标题:Anonymous user in Django

How can I just enable anonymous user in Django? I mean, what is the minimum I should do to be logged in as anonymous first time I go to my site?

问候,阿尔沙夫斯基·亚历山大。

最佳回答

如果授权中间件已经就位,那么你就是匿名用户,只要你没有登录。

问题回答

暂无回答




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Remotely authenticating client Windows user on demand

Suppose I am writing a server for a particular network protocol. If I know that the client is running on a Windows machine, is it possible for my server to authenticate the Windows user that owns the ...

Role/Permission based forms authorizing/authentication?

While looking into forms authorizing/authentication, I found that it is possible to do role based authorizing by adding an array of roles to a FormsAuthenticationTicket. That way I can write User....

热门标签