using normal html files instead of Django tempaltes -


i have bunch of html files. i'd render them in django view without converting them django templates. possible?

or there code conversion easily?

actually, don't have write view such cases. can use direct_to_template shortcut in urls.py is.

from generic views doc

from django.conf.urls import patterns, url, include django.views.generic.simple import direct_to_template       urlpatterns = patterns('',         ('^about/$', direct_to_template, {             'template': 'about.html'         }),     ) 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -