hello all,
I was going through the basic tutorial for django 1.8
I see in the 3rd part on views this line.
url(r'^(?P<question_id>[0-9]+)/$', views.details, name='detail'),
I have not understood the name = 'details' part?
is 'details' a parameter that will have a input value?
I am confused because we have already associated the views.detail
function to the root.
Can some one explain?
happy hacking.
Krishnakant.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/566DAE85.1040608%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment