Changes between Version 2 and Version 3 of CookBookMakeURLConfDRY


Ignore:
Timestamp:
May 2, 2006, 10:23:57 AM (19 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookMakeURLConfDRY

    v2 v3  
    1 == Question: ==
     1== Question ==
    22
    33In a url configuration file, we use the first argument to the patterns() function to specify a prefix to apply to each view function , avoiding typing that out for each entry in urlpatterns. but in the practical application, it is quite normal that only part of patterns have the common prefix. In that case, we cann't use a prefix directly for example:
Back to Top