#35312: staticurl_urlpatterns incorrectly uses STATIC_URL that prefixed using
SCRIPT_NAME
-------------------------------------+-------------------------------------
     Reporter:  yudhiwidyatama       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.staticfiles  |                  Version:  5.0
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Florian Apolloner, Markus Holtermann (added)
 * resolution:   => invalid
 * status:  new => closed

Comment:

 Thanks for this ticket, however, the proposed change is backward
 incompatible and incorrect. `SCRIPT_NAME` prefix should be added to
 `STATIC_URL` and `MEDIA_URL` set to relative paths and that's how it works
 now, see related #25598 and #32394. If you don't want to serve them on a
 `SCRIPT_NAME` subpath, you should use absolute paths in these settings.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35312#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e4fe3d561-fa0f9d66-bca9-42d0-acbc-f217602fdc3d-000000%40eu-central-1.amazonses.com.

Reply via email to