djangofy html files but have SQL problem now

Is it possible that including common files from a shared template files?
Here we just load the template and additional files.