Opened 9 years ago
Closed 9 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 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from nobody to Alasdair Nicol |
Status: | new → assigned |
comment:2 Changed 9 years ago by
Has patch: | set |
---|
comment:3 Changed 9 years ago by
Component: | Uncategorized → Documentation |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Type: | Uncategorized → Cleanup/optimization |
comment:4 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Pull request https://github.com/django/django/pull/3295/