[patch] Bonjour support for runserver
|Reported by:||gandalf@…||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
From feature request on django-devel:
The technology formerly known as Rendezvous, yes. When you start a turbogears project with start-projectname.py, tg tells Bonjour of its existence and you can view it simply by pulling it down from the Bonjour menu in Safari's Bookmarks Bar. If the project is stopped, the site is removed from Bonjour. It's way easier than typing http://localhost:port in the address bar. It would be nice if I could do python manage.py runserver, then just switch to Safari and pull the site down from the Bookmark Bar.
This patch adds this capability to Django. Usage:
python manage.py --bonjour runserver `hostname`.local:8000
Because of limitations in dns-sd it only works for .local domains. I'm new to this whole Bonjour thing so some insights from people who have more experience would be appreciated.