djangofy html files but have SQL problem now