urls
(r'^catalog/(?P<the_model>\w+)/$', 'detail'),
views
def detail(request, the_model):
the_model = urllib.unquote(the_model)
return render_to_response('detail.html', {'the_model': the_model})
<a href='{{ x.model_name }}/'>{{ x.model_name }} {{ x.brand_name }}</a>
<a href='{{ x.model_name }}/'><img height='150' src='/static/{{ x.img1 }}' alt='{{ x.brand_name }} {{ x.model_name }}' title='{{ x.brand_name }} {{ x.model_name }}'></a>