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 Initial Version

Reported by: Alasdair Nicol Owned by: nobody
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

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 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.

Change History (0)

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