#17645: runserver: not serving static for localhost
--------------------------------------------+--------------------
     Reporter:  shadow                      |      Owner:  nobody
         Type:  Bug                         |     Status:  new
    Component:  Core (Management commands)  |    Version:  SVN
     Severity:  Normal                      |   Keywords:
 Triage Stage:  Unreviewed                  |  Has patch:  0
Easy pickings:  1                           |      UI/UX:  0
--------------------------------------------+--------------------
 runserver will only serve static files if STATIC_URL is relative. This
 makes sense if STATIC_URL includes a domain pointing to another server.
 However, it denies the possibility of including a localhost domain (as is
 needed by my current project).

 I've currently worked around this by modifying:
 django/contrib/staticfiles/handlers.py


 {{{
 def _should_handle(self, path):
     return True
 }}}


 Sorry, I haven't had time to consider any side effects of this, but it's
 working for me at the moment.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17645>
Django <https://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