Re: Feature request: get user by session key

2019-07-26 Thread 'andreymal' via Django developers (Contributions to Django itself)
The page you referred to says: >First request the feature on the django-developers list, not in the ticket tracker. That's why I'm here ¯\_(ツ)_/¯ About my case — in general, I want to make a websocket

Re: Feature request: get user by session key

2019-07-26 Thread Jani Tiainen
Hi. I have few times had a need to get user by session. For debugging purposes. Also django-extensions do have management command to return user from session id. But I really can't imagine any usecase where just session would make sense... pe 26. heinäk. 2019 klo 19.40 Adam Johnson kirjoitti:

Re: Feature request: get user by session key

2019-07-26 Thread Adam Johnson
Hey, Welcome to the mailing list. This is probably a little low-level as a feature request here. I think it is better submitted as a ticket as per https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/ :) Where on the docs did you read about django-developers? As for your

Feature request: get user by session key

2019-07-26 Thread 'andreymal' via Django developers (Contributions to Django itself)
(Hello, the Django documentation says that I should send feature requests to the django-developers mailing list, so I send it here.) I have a need to get a user object using a known session key without an HTTP request. After reading the Django code, I did not find a clean way to do this. Django h

Translation templatetag aliases

2019-07-26 Thread 'Mike Hansen' via Django developers (Contributions to Django itself)
Hello all, Recently I had a member of my team bring up that it was uncomfortable for them to work in parts of our codebase where they regularly had to see "blocktrans" in the template files. To make our work environment more inclusive, I wrote a Django package