[1.7.x] Fixed #23277 -- Backport patterns() documentation changes.

https://code.djangoproject.com/ticket/23277
Wow you are fast. Fixed. Thank you. Sorry about that.