Opened 11 years ago
Closed 11 years ago
#23578 closed Cleanup/optimization (fixed)
Use patterns everwhere in 1.7.X URL dispatcher docs to be consistent
| Reported by: | Alasdair Nicol | Owned by: | Alasdair Nicol |
|---|---|---|---|
| Component: | Documentation | Version: | 1.7 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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 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.
Change History (4)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 11 years ago
| Has patch: | set |
|---|
comment:3 by , 11 years ago
| Component: | Uncategorized → Documentation |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
| Type: | Uncategorized → Cleanup/optimization |
comment:4 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Pull request https://github.com/django/django/pull/3295/