Changes between Version 2 and Version 3 of Ticket #25075, comment 4
- Timestamp:
- Jul 14, 2015, 9:48:08 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25075, comment 4
v2 v3 1 In the documentation I have seen only vague: "If the user is logged in, execute the view normally. The view code is free to assume the user is logged in."1 In the documentation I have seen ([https://docs.djangoproject.com/en/stable/topics/auth/default/#the-login-required-decorator on link]) only vague: "If the user is logged in, execute the view normally. The view code is free to assume the user is logged in." 2 2 3 3 The documentation should be written clearly, that: "Note, if the administrator has turned off the user by using "is_active", the user will have access to all the views that are under the control of the decorator until the action of the session key." … … 82 82 But: `is_authenticated()` != `is_active` 83 83 Where is logic? 84 To distinguish anonymous users from real users have a method `is_anonymous()`.