#21451: LiveServerTestCase returns a 404 on all URLs when MEDIA_URL = '' and 
DEBUG
= True
-----------------------------------+------------------------------------
     Reporter:  aaugustin          |                    Owner:  gchp
         Type:  Bug                |                   Status:  assigned
    Component:  Testing framework  |                  Version:  1.6
     Severity:  Normal             |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+------------------------------------
Changes (by gchp):

 * owner:  nobody => gchp
 * status:  new => assigned
 * has_patch:  0 => 1


Comment:

 I submitted this patch in https://github.com/django/django/pull/2759 - and
 just added a couple of small comments.

 I did some testing around not applying `StaticFilesHandler` when
 `STATIC_URL` is not set. I don't think this is actually possible however,
 as `LiveServerTestCase` in Django 1.6 used the `staticfiles` app, which in
 turn required the `STATIC_URL` setting to be set.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21451#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.97d4b6b470ef981994fe26a9d24fd3a7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to