#23578: Use patterns everwhere in 1.7.X URL dispatcher docs to be consistent
-------------------------------+-----------------------------------------
Reporter: alasdairnicol | Owner: alasdairnicol
Type: Uncategorized | Status: assigned
Component: Uncategorized | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by alasdairnicol):
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => alasdairnicol
* needs_docs: => 0
Old description:
> Django 1.7.X supports using a list of `url()` instances for
> `urlpatterns`.
>
> In ticket #23277, it was decided to show the old `patterns` approach in
> the docs, and switch to the new style in the 1.8 docs.
>
> However, the [https://docs.djangoproject.com/en/1.7/topics/http/urls
> /#url-namespaces URL Namespaces] section of the URL Dispatcher docs uses
> the new style syntax. This could be a bit surprising for users
> unfamiliarwith the new syntax in 1.8.
>
> I'm going to open a small pull request which uses the old patterns syntax
> everywhere on the URL Dispatcher docs page in 1.7.X.
New description:
Django 1.7.X supports using a list of `url()` instances for `urlpatterns`.
In ticket #23277, it was decided to show the old `patterns` approach in
the docs, and switch to the new style in the 1.8 docs.
However, the [https://docs.djangoproject.com/en/1.7/topics/http/urls/#url-
namespaces URL Namespaces] section of the URL Dispatcher docs uses the new
style syntax. This could be a bit surprising for users unfamiliar with the
new syntax in 1.8.
I'm going to open a small pull request which uses the old patterns syntax
everywhere on the URL Dispatcher docs page in 1.7.X.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/23578#comment:1>
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/071.55e8b84e3ff3b4830a62ecd56ae3485b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.