Skip to content

allow assigning a port in DaphneProcess#550

Merged
carltongibson merged 2 commits intodjango:mainfrom
MohammedSaleh2001:main
May 7, 2025
Merged

allow assigning a port in DaphneProcess#550
carltongibson merged 2 commits intodjango:mainfrom
MohammedSaleh2001:main

Conversation

@MohammedSaleh2001
Copy link
Contributor

@MohammedSaleh2001 MohammedSaleh2001 commented Feb 20, 2025

Needed changes for original idea django/channels#2135 and ChannelsLiveServerTestCase updates: django/channels#2136 (comment)

Allows DaphneProcess to accept a port. Since I'm not entirely sure what else uses DaphneProcess, I opted to make the parameter optional and at the end of the init function.

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

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

OK, thanks for this @MohammedSaleh2001. I'm preparing a Daphne release now. Then we'll cut back to the Channels side of it. 🎁

@carltongibson carltongibson merged commit beef1c1 into django:main May 7, 2025
11 checks passed
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