On Wed, 2012-06-06 at 16:02 +0530, Satvir Toor wrote:
> I installed a application source code downloaded from Internet .
> Please explain me the following code that exists in urls.py file of
> the project.
> url(r'^pyrheology/plot/str/(?P<str_tmc_id>\d+).png$',\
> 'pyrheology.views.str_tmc_plot_img',\
> name='pyrheology-str-tmc-plot-img'),
it captures a name of the pattern 'a number of digits'.png and stores it
in a variable called 'str_tmc_id' and sends the same to a view function
called 'str_tmc_plot_img'
(as mentioned before, *please* do the tutorial)
--
regards
Kenneth Gonsalves