title: django's HttpResponse is plain text and not HTML
body: <p>I'm new to django. I am learning it for couple of weeks now. I have a .txt file that contains the HTML content i want to be rendered. I understand i'm not linking the css &amp; js files properly. Can you help.</p>
  
  <p>Project structure:<br/></p>
  
  <pre><code>mysite/
     manage.py
     static/
        css/
          home.css
        images/
          logo.png
     templates/
        indexTemplate.txt
  </code></pre>
  
  <p>indexTemplate.txt</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Home Page&lt;/title&gt;
      &lt;link rel="stylesheet" href="{% static "css/home.css" %}"/&gt;
      &lt;script src="{% static "js/jquery-1.10.2.js" %}"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="Header"&gt;
  
          &lt;div class="HeaderLogo"&gt;
              &lt;a href="index.html"&gt;&lt;img src="{% static "images/logo.png" %}" alt="Logo"/&gt;&lt;/a&gt;
          &lt;/div&gt;
      Nav1 | Nav 2 
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>settings.py</p>
  
  <pre><code>import os
  BASE_DIR = os.path.dirname(os.path.dirname(__file__))
  
  SECRET_KEY = 'u^37+&amp;l60(xhoq8qyzlsyvynynpx%i-amg@@n#_x)tugfc5)61'
  
  DEBUG = True
  
  TEMPLATE_DEBUG = True
  
  TEMPLATE_DIRS = (
      '/home/ubuntu/Desktop/mysite/templates',
  )
  ALLOWED_HOSTS = []
  
  INSTALLED_APPS = (
  'django.contrib.admin',
  'django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.messages',
  'django.contrib.staticfiles',
  )
  
  MIDDLEWARE_CLASSES = (
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.middleware.common.CommonMiddleware',
  'django.middleware.csrf.CsrfViewMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.contrib.messages.middleware.MessageMiddleware',
  'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  
  ROOT_URLCONF = 'mysite.urls'
  
  WSGI_APPLICATION = 'mysite.wsgi.application'
  
  DATABASES = {
  'default': {
      'ENGINE':'django.db.backends.mysql',
      'NAME': 'myapp',
      'USER': 'root',
      'PASSWORD': '***',
      'HOST': '*********',
      'PORT': '8000',
  }
  }
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'UTC'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  STATIC_URL = '/static/'`
  </code></pre>
  
  <p>views.py :</p>
  
  <pre><code>from django.http import HttpResponse
  from django.template import Template, Context
  from django.template.loader import get_template
  from django.shortcuts import render_to_response
  
  def hello(request):
      t = get_template('indexTemplate.txt')
      html = t.render(Context({'mnu':'Trending'}))
      return HttpResponse(html)
  </code></pre>