#14928: manage runserver does not allow host name as address
---------------------------------------+------------------------------------
 Reporter:  Karmel Allison             |       Owner:  nobody    
   Status:  new                        |   Milestone:            
Component:  django-admin.py runserver  |     Version:  1.3-alpha 
 Keywords:                             |       Stage:  Unreviewed
Has_patch:  0                          |  
---------------------------------------+------------------------------------
 In Django 1.2, it was possible to use a host name (i.e., example.com) to
 run a Django server from manage.py:

 {{{
 python manage.py runserver example.com:8000
 }}}

 However, that convenience has been removed in Django 1.3-alpha. It looks
 like in order to add functionality for IPv6 addresses, a regex was added
 ([http://code.djangoproject.com/changeset/14711 r14711, line 12]) that
 raises an error if non-IP-like addresses are used:

 {{{
 python manage.py runserver example.com:8000
 Error: 'example.com:8000' is not a valid port numberor address:port pair.
 }}}

 The ability to run the server using host names was quite convenient, and
 preferable in many cases to having an IP specified. Would it be possible
 to re-enable that feature?

 Thanks!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14928>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to