Skip to content

Conversation

kezabelle
Copy link
Contributor

@kezabelle kezabelle commented Aug 18, 2023

Ticket is https://code.djangoproject.com/ticket/34781.

I've not touched the django.request equivalent, though I presume that always receives an HttpRequest subclass instance, in the same way I am presuming that the .request under django.server is always the raw socket ... 🤷


Of course, if anyone can figure out a way to get the actual request, that'd be a much better win ;)

@nessita nessita force-pushed the ticket/34781_docs_for_djangoserver_logging branch from ec5a791 to 5de5381 Compare August 23, 2023 01:12
@nessita nessita changed the title Fixed #34781 -- Updated the logging reference docs for django.server Fixed #34781 -- Updated logging ref docs for django.server's request extra context value. Aug 23, 2023
Copy link
Contributor

@nessita nessita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving on the basis that the docs for simple_server.WSGIRequestHandler confirms the request is a socket.

@nessita nessita merged commit 428023e into django:main Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants