#25525: Default urls.py documents an unnecessary use of `include()`
-------------------------------------------+------------------------
Reporter: bmispelon | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Other) | Version: 1.9a1
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------------+------------------------
1e82094f1b6690018228e688303295f83e1c3d9a removed the need for `include` to
be imported in the default `urls.py` file but the instructions in the
docstring of that module still make use of it [1].
From what I understand, the list could now be:
{{{
1. Add an import: from blog import urls as blog_urls
2. Add a URL to urlpatterns: url(r'^blog/', blog_urls)
}}}
[1]
https://github.com/django/django/blob/master/django/conf/project_template/project_name/urls.py#L14
--
Ticket URL: <https://code.djangoproject.com/ticket/25525>
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.a5cdadff18e7d0d5e2ae9ce6407209f1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.