Added functionality for django to load templates versus hard-coding the templates into the views.