title: dictionary update sequence element #0 has length 1; 2 is required when loading page
body: <p>i saw multiple same topics but non of them solved my problem .
  I just created a django project , build an app called <code>News</code>. 
  when i try to load page i got this error : </p>
  
  <blockquote>
    <p>dictionary update sequence element #0 has length 1; 2 is required</p>
  </blockquote>
  
  <p>Here is first <code>urls</code>:</p>
  
  <pre><code>from django.contrib import admin
  from django.urls import path
  from django.conf.urls import url,include
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      url(r'',include('News.urls'))
  ]
  </code></pre>
  
  <p>And Here is <code>News</code> urls : </p>
  
  <pre><code>from django.conf.urls import url
  from . import views
  
  urlpatterns = [
      url(r'', views.LoadHome.as_view(), 'home_page')
  ]
  </code></pre>
  
  <p>And finally my view : </p>
  
  <pre><code>class LoadHome(generic.TemplateView):
      template_name = 'index.html'
  </code></pre>
  
  <blockquote>
    <p>Environment:</p>
    
    <p>Request Method: GET Request URL: <a href="http://127.0.0.1:8000/" rel="nofollow noreferrer">http://127.0.0.1:8000/</a></p>
    
    <p>Django Version: 2.0.5 Python Version: 3.6.5 Installed Applications:
    ['django.contrib.admin',  'django.contrib.auth', 
    'django.contrib.contenttypes',  'django.contrib.sessions', 
    'django.contrib.messages',  'django.contrib.staticfiles', 
    'MyUser.apps.MyuserConfig',  'News.apps.NewsConfig'] Installed
    Middleware: ['django.middleware.security.SecurityMiddleware', 
    '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']</p>
    
    <p>Traceback:</p>
    
    <p>File
    "A:\Python\techProject\venv\lib\site-packages\django\core\handlers\exception.py"
    in inner
      35.             response = get_response(request)</p>
    
    <p>File
    "A:\Python\techProject\venv\lib\site-packages\django\core\handlers\base.py"
    in _get_response
      113.         resolver_match = resolver.resolve(request.path_info)</p>
    
    <p>File
    "A:\Python\techProject\venv\lib\site-packages\django\urls\resolvers.py"
    in resolve
      496.                     sub_match = pattern.resolve(new_path)</p>
    
    <p>File
    "A:\Python\techProject\venv\lib\site-packages\django\urls\resolvers.py"
    in resolve
      496.                     sub_match = pattern.resolve(new_path)</p>
    
    <p>File
    "A:\Python\techProject\venv\lib\site-packages\django\urls\resolvers.py"
    in resolve
      345.             kwargs.update(self.default_args)</p>
    
    <p>Exception Type: ValueError at / Exception Value: dictionary update
    sequence element #0 has length 1; 2 is required</p>
  </blockquote>
  
  <p>Whats the problem ? </p>
  
  <p>I think the reason is my INSTALLED_APPS in settings.py but i cant find any problem in it .</p>
  
  <pre><code>INSTALLED_APPS = [
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'MyUser.apps.MyuserConfig',
      'News.apps.NewsConfig'
  ]
  </code></pre>