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
Post a Comment