python - Regular expressions in Django -
i new django , having problems views. urls extension .html go view ...app.views.test
i have:
url(r'^\. html$',views.test)
just check ending:
url(r'\.html$', views.test)
note dot needs escaped backslash since dot has special meaning:
'.' (dot.)
in default mode, matches character except newline.
Comments
Post a Comment