Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (VENV) E:\for django\VENV\bin\activate\Scripts\projectone>py -3 manage.py runserver
- Performing system checks...
- Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x05CA0DF8>
- Traceback (most recent call last):
- File "E:\PYTHON36\lib\site-packages\django\urls\resolvers.py", line 538, 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 "E:\PYTHON36\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
- fn(*args, **kwargs)
- File "E:\PYTHON36\lib\site-packages\django\core\management\commands\runserver.py", line 120, in inner_run
- self.check(display_num_errors=True)
- File "E:\PYTHON36\lib\site-packages\django\core\management\base.py", line 364, in check
- include_deployment_checks=include_deployment_checks,
- File "E:\PYTHON36\lib\site-packages\django\core\management\base.py", line 351, in _run_checks
- return checks.run_checks(**kwargs)
- File "E:\PYTHON36\lib\site-packages\django\core\checks\registry.py", line 73, in run_checks
- new_errors = check(app_configs=app_configs)
- File "E:\PYTHON36\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
- return check_resolver(resolver)
- File "E:\PYTHON36\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
- return check_method()
- File "E:\PYTHON36\lib\site-packages\django\urls\resolvers.py", line 398, in check
- warnings.extend(check_resolver(pattern))
- File "E:\PYTHON36\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
- return check_method()
- File "E:\PYTHON36\lib\site-packages\django\urls\resolvers.py", line 397, in check
- for pattern in self.url_patterns:
- File "E:\PYTHON36\lib\site-packages\django\utils\functional.py", line 36, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "E:\PYTHON36\lib\site-packages\django\urls\resolvers.py", line 545, in url_patterns
- raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
- django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'app001.urls' from 'E:\\for django\\VENV\\bin\\activate\\Scripts\\projectone\\app001\\urls.py'>' 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