title: 'module' object is not iterable when running django website to the server
body: <p>i wanted to run my django website to their server so i open cmd and go to manage.py directory :</p>
  
  <pre><code> C:\Users\computer house&gt;cd desktop/newproject 
  </code></pre>
  
  <p>then i type this code :</p>
  
  <pre><code>python manage.py runserver 
  </code></pre>
  
  <p>but i got this error : </p>
  
  <pre><code>Unhandled exception in thread started by &lt;function check_errors.&lt;locals&gt;.wrapper at 0x03BE5A08&gt;
  Traceback (most recent call last):
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\urls\resolvers.py", line 542, in url_patterns
      iter(patterns)
  TypeError: 'module' object is not iterable
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
      fn(*args, **kwargs)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\commands\runserver.py", line 120, in inner_run
      self.check(display_num_errors=True)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 364, in check
      include_deployment_checks=include_deployment_checks,
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py", line 351, in _run_checks
      return checks.run_checks(**kwargs)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\checks\registry.py", line 73, in run_checks
      new_errors = check(app_configs=app_configs)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\checks\urls.py", line 40, in check_url_namespaces_unique
      all_namespaces = _load_all_namespaces(resolver)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\checks\urls.py", line 67, in _load_all_namespaces
      namespaces.extend(_load_all_namespaces(pattern, current))
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\checks\urls.py", line 57, in _load_all_namespaces
      url_patterns = getattr(resolver, 'url_patterns', [])
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\functional.py", line 36, in __get__
      res = instance.__dict__[self.name] = self.func(instance)
    File "C:\Users\computer house\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\urls\resolvers.py", line 549, in url_patterns
      raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
  django.core.exceptions.ImproperlyConfigured: The included URLconf '&lt;module 'videos.urls' from 'C:\\Users\\computer house\\Desktop\\newproject\\videos\\urls.py'&gt;' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
  </code></pre>
  
  <p>and this is my videso\url.py code : </p>
  
  <pre><code>from django.urls import path
  from videos import views
  
  urlpatternes = [
  path('', views.index , name = 'index'),
  ]
  </code></pre>
  
  <p>what does this error 'module object is not iterable ' mean ? </p>