#32419: "Serving files uploaded by a user during development" example unclear 
about
"urls.py"
-------------------------------------+-------------------------------------
     Reporter:  Josef Richter        |                    Owner:  Amankumar
         Type:                       |  Singh
  Cleanup/optimization               |                   Status:  closed
    Component:  Documentation        |                  Version:  3.1
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  media, uploads,      |             Triage Stage:  Accepted
  images, forms, MEDIA_URL,          |
  MEDIA_ROOT, tutorial               |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Josef Richter):

 Replying to [comment:3 Tim Graham]:
 > It seems like a basic understanding of how the URL system works would
 get you to the right answer, but... would it be more clear to you if it
 said, "you can do this by adding the following snippet to your
 `ROOT_URLCONF`" (changing `urls.py` to `ROOT_URLCONF`). I don't think
 referencing the filenames in the tutorial here is a good idea.

 Yes, probably. I'm just saying it's an easy mistake to make for a beginner
 who sees Django for the first time in their life and don't know the
 details of its URL system, structuring the app, etc. And it's hard to
 identify and fix that mistake for a beginner.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32419#comment:6>
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/070.97732d77ce7a781d5f6ad93f485dc1f8%40djangoproject.com.

Reply via email to