模板:
<!-- Images slide as a row starts -->
<!-- power.views.IMAGE_SLIDES_ROW returns image_slider_row/ -->
{% url power.views.IMAGE_SLIDES_ROW %}
<!-- Images as a row Ends -->
url conf:
url(r'^image_slider_row/', views.images_slider_row_func, name='image_slider_row'),
查看:
def images_slider_row(request):
print "Debug-1"
return render_to_response('images_slider_row.html', {})
实际上我期待“images_slider_row_func”将在url标签执行时调用,但它没有发生,它在浏览器中显示以下字符串
我错过了什么,或者我误解了这个概念?请帮我解决这个问题。
/images_slider_row/