Changes between Initial Version and Version 4 of Ticket #21023
- Timestamp:
- Sep 2, 2013, 6:39:33 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21023
- Property Type Uncategorized → Cleanup/optimization
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #21023 – Description
initial v4 2 2 3 3 URLS: 4 4 {{{ 5 5 from django.conf.urls import patterns, url 6 6 … … 10 10 url(r'^articles/(\d{4})/(\d{2})/(\d+)/$', 'news.views.article_detail'), 11 11 ) 12 12 }}} 13 13 You go line by line and say r = raw. This means no escape characters, the compiler processes what it sees. 14 Next: ^from Regular expressions means the beginning of the line beginning with the word articles?14 Next: `^` from Regular expressions means the beginning of the line beginning with the word articles? 15 15 The slash is: 16 16 Then you put parenthesis because?: GET IT?