title: django static file not loading
body: <p>I have problem that i done every thing as described in tutorial <a href="https://docs.djangoproject.com/en/1.5/intro/tutorial06/" rel="noreferrer">https://docs.djangoproject.com/en/1.5/intro/tutorial06/</a> and every thing also running fine but css,images are not showing their effects. Being a new one on django, Suggestions required. thanks for any help.</p>
  
  <p>My css file:-</p>
  
  <pre class="lang-css prettyprint-override"><code>li a {
      color: red;
  }
  body {
      background: white url("images/background.gif") no-repeat right bottom;
  }
  </code></pre>
  
  <p>url.py file:-</p>
  
  <pre><code>from django.conf import settings
  from django.conf.urls.static import static
  from django.conf.urls import patterns,url
  from polls import views
  urlpatterns = patterns('',
      url(r'^$', views.IndexView.as_view(), name='index'),
      url(r'^(?P&lt;pk&gt;\d+)/$', views.DetailView.as_view(), name='detail'),
      url(r'^(?P&lt;pk&gt;\d+)/results/$', views.ResultsView.as_view(), name='results'),
      url(r'^(?P&lt;poll_id&gt;\d+)/vote/$', views.vote, name='vote'), 
  ) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  </code></pre>
  
  <p>Index.html file -</p>
  
  <pre><code>{% load staticfiles %}
  &lt;link rel="stylesheet" type="text/css" href="{% static '/polls/style.css' %}"/&gt;
  {% if latest_poll_list %}
  &lt;ul&gt;
  {% for poll in latest_poll_list %}
      &lt;li&gt;&lt;a href="{% url 'polls:detail' poll.id %}"&gt;{{ poll.question }}&lt;/a&gt;&lt;/li&gt;
  {% endfor %}
  &lt;/ul&gt;
  {% else %}
  &lt;p&gt;No polls are available.&lt;/p&gt;
  {% endif %}
  </code></pre>
  
  <p>Settings.py file:-</p>
  
  <pre><code>MEDIA_ROOT = ''
  MEDIA_URL = ''
  STATIC_ROOT = ''
  STATIC_URL = '/static/'
  STATICFILES_DIRS = (
      '/polls/static/'
      )
  STATICFILES_FINDERS = (
      'django.contrib.staticfiles.finders.FileSystemFinder',
      'django.contrib.staticfiles.finders.AppDirectoriesFinder',
  )
  
  TEMPLATE_LOADERS = (
      'django.template.loaders.filesystem.Loader',
      'django.template.loaders.app_directories.Loader',
  )
  
  MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  )
  
  ROOT_URLCONF = 'mysite.urls'
  
  WSGI_APPLICATION = 'mysite.wsgi.application'
  
  TEMPLATE_DIRS = (
      'C:/django poll project/mysite/templates',
      )
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'django.contrib.admin',
      'polls',
  )
  </code></pre>
  
  <p>On runserver, getting-</p>
  
  <p>[18/Sep/2014 17:40:51] "GET /polls/ HTTP/1.1" 200 311
  [18/Sep/2014 18:25:39] "GET /polls/ HTTP/1.1" 200 311</p>