My version of django is 1.6.3
and i learn django start with a project which have a part like this
#blog_list.html
<h3><a href="{% url detailblog blog.id %}">{{ blog.caption }}</a></h3>
#urls.py
url(r'^blog/(?P<id>\d+)/$', 'blog_show', name='detailblog'),
the process is when i click the one item of the list that blog_list shows to me, it will bring me to blog_show via the a label.
But i got the error message that says:
'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.
I don't know where the location of this answer in the docs.
So help me, tell me the solution of this and the right way to check docs if i come to the same situation like this or worse. Thank you!