#32666: Clarify mysite/urls.py location for tutorial-01
-------------------------------------+-------------------------------------
Reporter: j3soon | Owner: nobody
Type: | Status: new
Uncategorized |
Component: | Version: 3.2
Documentation | Keywords: tutorial
Severity: Normal | clarification
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
According to [this answer on
StackOverflow](https://stackoverflow.com/a/29657129/), 82 people
accidentally created the `mysite/urls.py` in the outer `mysite` directory
(`mysite/mysite/urls.py`) instead of modifying the inner `mysite`
directory (`mysite/urls.py`) when following
[tutorial-01](https://docs.djangoproject.com/en/3.1/intro/tutorial01/).
This PR adds a hint to ask readers to double check the file location. This
can help future readers who encounters this issue to follow the tutorial
more smoothly (instead of searching on Google to see the StackOverflow
post)
Django's [contribution
guideline](https://github.com/django/django/blob/main/CONTRIBUTING.rst)
suggests to create a Trac ticket here beforehand, so I created a fake PR
here: https://github.com/j3soon-pr/django/pull/1
If this clarification is approved, I'll create the formal PR on GitHub.
--
Ticket URL: <https://code.djangoproject.com/ticket/32666>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.e92ca00881013e68db09d214f8a8df0a%40djangoproject.com.