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 Alasdair Nicol)

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 Alasdair Nicol

Description: modified (diff)
Owner: changed from nobody to Alasdair Nicol
Status: newassigned

comment:2 Changed 9 years ago by Alasdair Nicol

Has patch: set

comment:3 Changed 9 years ago by Collin Anderson

Component: UncategorizedDocumentation
Triage Stage: UnreviewedReady for checkin
Type: UncategorizedCleanup/optimization

comment:4 Changed 9 years ago by Alasdair Nicol <alasdair@…>

Resolution: fixed
Status: assignedclosed

In 74c38bad1d80ff94a973f4c4608011f45e80f2d9:

[1.7.x] Fixed #23578 -- Changed examples in docs to use patterns

Note: See TracTickets for help on using tickets.
Back to Top