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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to