Changes between Initial Version and Version 1 of Ticket #23427, comment 7


Ignore:
Timestamp:
Sep 5, 2014, 2:43:11 PM (10 years ago)
Author:
Collin Anderson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23427, comment 7

    initial v1  
    11If it helps, it's only an issue if you already have a `sessionid` cookie for the domain, so it shouldn't be an issue for everyone.
    22
    3 As a side note, probably not possible with just middleware, but it would be nice if the session authentication check was done the first time `get_user(request)` is called, instead of every request, as it creates unnecessary session and user queries on pages where user is not used. It would be nice if there were a way to override the `get_user(request)` logic to put this check there.
     3As a side note, probably not possible with just middleware, but it would be nice if the session authentication check was done the first time `get_user(request)` is called, instead of every request, as it creates unnecessary session and user queries on pages where user is not used. It would be nice if there were a way to override the `get_user(request)` logic to put this check there. That would remove the requirement have a database before using a runserver for the first time.
Back to Top