django / channels

Developer-friendly asynchrony for Django
https://channels.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.06k stars 800 forks source link

Feature request: Implement name="foo" to routes and {% route 'foo' %} template tag. #1846

Open saarrooiii opened 2 years ago

saarrooiii commented 2 years ago

I will try to get this working and create a new "Pull request", but I encourage anyone to implement it if they can. I think it would be a good feature for the project.

aliloloee commented 1 day ago

Hi,

I’ve successfully implemented a similar template tag named {% ws_url 'foo' %} for WebSocket routings in one of my own projects, and it works well. I believe this feature would be valuable for Django Channels, and I’d like to contribute by implementing it here.

If there are any specific guidelines or areas I should focus on, I’d love to hear them!

Thanks!