Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\management\base.py", line 392, in check
all_issues = checks.run_checks(
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\registry.py", line 70, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py", line 409, in check
messages.extend(check_resolver(pattern))
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py", line 409, in check
messages.extend(check_resolver(pattern))
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py", line 335, in check
warnings = self._check_pattern_name()
File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py", line 343, in _check_pattern_name
if
self.pattern.name is not None and ":" in
self.pattern.name:
TypeError: argument of type 'type' is not iterable