#22717: FileField.url returns a wrong URL
-------------------------------------+-------------------------------------
     Reporter:  david.fischer.ch@…   |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  File                 |                  Version:  master
  uploads/storage                    |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
  storage,filefield,url              |  Patch needs improvement:  0
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  1                    |
-------------------------------------+-------------------------------------

Comment (by mardini):

 That's a solid reasoning I guess.
 I can't think of any use case where adding a trailing slash to `base_url`
 would cause undesirable behavior either. And since `base_url` isn't
 necessarily `MEDIA_URL`, I see no harm in implementing this feature, even
 though `MEDIA_URL` must always end in a slash.

 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22717#comment:7>
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/084.24b8c6a8234dde9c84e71f4ea8055c16%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to