Socail Media App

I created template for Login Page as taught in the Webinar.
I tried to run the server but the following error occured.

TypeError: ‘module’ object is not iterable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “c:\users\hp\appdata\local\programs\python\python37-32\Lib\threading.py”, line 926, in _bootstrap_inner
self.run()
File “c:\users\hp\appdata\local\programs\python\python37-32\Lib\threading.py”, line 870, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\utils\autoreload.py”, line 53, in wrapper
fn(*args, **kwargs)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\management\commands\runserver.py”, line 117, in inner_run
self.check(display_num_errors=True)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\management\base.py”, line 395, in check
include_deployment_checks=include_deployment_checks,
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\management\base.py”, line 382, in _run_checks
return checks.run_checks(**kwargs)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\checks\registry.py”, line 72, in run_checks
new_errors = check(app_configs=app_configs)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\checks\urls.py”, line 13, in check_url_config
return check_resolver(resolver)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\checks\urls.py”, line 23, in check_resolver
return check_method()
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\urls\resolvers.py”, line 408, in check
messages.extend(check_resolver(pattern))
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\core\checks\urls.py”, line 23, in check_resolver
return check_method()
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\urls\resolvers.py”, line 407, in check
for pattern in self.url_patterns:
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\utils\functional.py”, line 48, in get
res = instance.dict[self.name] = self.func(instance)
File “C:\Users\HP\Desktop\Projects\foxy\env\lib\site-packages\django\urls\resolvers.py”, line 597, in url_patterns
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf ‘<module ‘auth.urls’ from ‘C:\Users\HP\Desktop\Projects\foxy\auth\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.

Please Help to resolve this error.

Can you please share your code ,so I can look into it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.