title: dictionary update sequence element #0 has length 15; 2 is required
body: <p>I am upgrading my python/django application from 1.6.5 to 1.7. I'm having trouble solving the following error: dictionary update sequence element #0 has length 15; 2 is required</p>
  
  <p>Here is the traceback output:</p>
  
  <pre><code>Request Method: GET
  Request URL: http://127.0.0.1:8000/dashboard/
  
  Django Version: 1.7
  Python Version: 2.7.5
  Installed Applications:
  ('django.contrib.admin',
   'django.contrib.auth',
   'django.contrib.contenttypes',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django.contrib.sites',
   'django.contrib.humanize',
   'bootstrap3',
   'ajax_select',
   'appconf',
   'versiontools',
   'compressor',
   'googlecharts',
   'django_extensions',
   'mandala',
   'locations',
   'statistics',
   'alarms',
   'accounts',
   'assets')
  Installed Middleware:
  ('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')
  
  
  Traceback:
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/sit-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
    22.                 return view_func(request, *args, **kwargs)
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/mandala/mandala/views.py" in dashboard
    117.         return render_to_response('dashboard/dashboard.html', variables,context_instance=RequestContext(request))
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/site-packages/django/shortcuts.py" in render_to_response
    23.     return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
    177.     with context_instance.push(dictionary):
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/site-packages/django/template/context.py" in push
    54.         return ContextDict(self, *args, **kwargs)
  File "/Users/CLDSupportSystems/mandala-system/mandala_env_django_1.7/lib/python2.7/site-packages/django/template/context.py" in __init__
    19.         super(ContextDict, self).__init__(*args, **kwargs)
  
  Exception Type: ValueError at /dashboard/
  Exception Value: dictionary update sequence element #0 has length 15; 2 is required
  </code></pre>
  
  <p>The error is thrown at the following line:</p>
  
  <pre><code>return render_to_response('dashboard/dashboard.html', variables,context_instance=RequestContext(request))
  </code></pre>
  
  <p>Here is the definition of variables:</p>
  
  <pre><code>variables = RequestContext(request, {
      'fresh_locations': fresh_data_locations,
      'webalert_locations': webalert_locations,
      'locations_reporting': reporting_locations,
      'locations_not_reporting': locations_not_reporting,
      'inalarm_count': inalarm_count,
      'inalarm_stores': inalarm_stores_qs,
      'workspace_count': workspace_count,
      'user_profile': user_profile,
  })
  </code></pre>
  
  <p>Can anyone point me in the right direction?</p>