middleware.py
6.8 KB
-
Dark lang middleware: Check if user is authenticated · 28a23438
Check if the request's user is authenticated before attempting to get their user preferences. Otherwise, log warnings appear indicating the UserNotFound error was caught.
Sarina Canelake committed