Opened 12 years ago

Last modified 12 years ago

#23578 closed Cleanup/optimization

Use patterns everwhere in 1.7.X URL dispatcher docs to be consistent — at Version 1

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 (1)

comment:1 by Alasdair Nicol, 12 years ago

Description: modified (diff)
Owner: changed from nobody to Alasdair Nicol
Status: new → assigned
Note: See TracTickets for help on using tickets.
Back to Top