Opened 17 years ago
Closed 17 years ago
#9331 closed (invalid)
More regexp examples needed for urls.py documentation
Description ¶
Extra regexp examples would be nice because it's new for some developers.
The only examples deal with integers, it would be nice to include short descriptions of \d \D \s \D \w and \W.
Such as: (r'(?P<user>\w+)/user_detail/$','django.views.generic.simple.direct_to_template', {'template' : 'user_detail.html'}),
Change History (2)
comment:1 by , 17 years ago
Component: | Uncategorized → Documentation |
---|
comment:2 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is a case where people who are new to programming probably will benefit the most not from a simplified cheat-sheet in our docs, but from going out and actually learning the concept (regular expressions are a pretty fundamental thing developers should know).