Apply html settings to htmldjango