Advertisement
Mochinov

Untitled

Nov 26th, 2020
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.38 KB | None | 0 0
  1. Exception in thread django-main-thread:
  2. Traceback (most recent call last):
  3.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/urls/resolvers.py", line 591, in url_patterns
  4.     iter(patterns)
  5. TypeError: 'module' object is not iterable
  6.  
  7. The above exception was the direct cause of the following exception:
  8.  
  9. Traceback (most recent call last):
  10.   File "/home/alexander/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  11.     self.run()
  12.   File "/home/alexander/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 864, in run
  13.     self._target(*self._args, **self._kwargs)
  14.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/utils/autoreload.py", line 53, in wrapper
  15.     fn(*args, **kwargs)
  16.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/channels/management/commands/runserver.py", line 75, in inner_run
  17.     self.check(display_num_errors=True)
  18.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/core/management/base.py", line 396, in check
  19.     databases=databases,
  20.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/core/checks/registry.py", line 70, in run_checks
  21.     new_errors = check(app_configs=app_configs, databases=databases)
  22.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/core/checks/urls.py", line 13, in check_url_config
  23.     return check_resolver(resolver)
  24.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/core/checks/urls.py", line 23, in check_resolver
  25.     return check_method()
  26.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/urls/resolvers.py", line 408, in check
  27.     for pattern in self.url_patterns:
  28.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/utils/functional.py", line 48, in __get__
  29.     res = instance.__dict__[self.name] = self.func(instance)
  30.   File "/home/alexander/.pyenv/versions/regenv/lib/python3.6/site-packages/django/urls/resolvers.py", line 598, in url_patterns
  31.     raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
  32. django.core.exceptions.ImproperlyConfigured: The included URLconf 'Doctor_at_home.urls' 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement