commenting out database calls in template