#27358: Add a system check for FileField upload_to starting with a slash
------------------------------------------------+------------------------
               Reporter:  Tim Graham            |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Core (System checks)  |        Version:  1.10
               Severity:  Normal                |       Keywords:
           Triage Stage:  Accepted              |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  1
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 A leading slash in `upload_to` [http://www.pkshiu.com/loft/archive/2008/05
 /django-tip-no-leading-slash-for-upload_to-for-filefield-and-imagefield
 seems to be a gotcha] for some people new to Django (just came up in
 #django too).

 The message could be something like "Remove the leading slash on upload_to
 as it should be a relative path."

--
Ticket URL: <https://code.djangoproject.com/ticket/27358>
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/052.b8e45c3de0642fce8a972291b999640f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to