Tutorial page polls not working, no module named polls.url.

The tutorial works fine until the polls part, the absolute beginning of the polls part.

This is the error when following the instructions and files are saved.
This is also running under windows.

my mysite\urls.py

from django.urls import include, path

urlpatterns = [
    path("polls/", include("polls.urls")),
    path('admin/', admin.site.urls),
]

my polls\polls\urls.py


from django.urls import path

from . import views

urlpatterns = [
    path("", views.index, name="index"),
]

my polls/polls.views.py

from django.http import HttpResponse


def index(request):
    return HttpResponse("Hello, world. You're at the polls index.")

\Diskstation\Mike\data\mysite\mysite\urls.py changed, reloading.
Watching for file changes with StatReloader
Performing system checks…

Exception in thread django-main-thread:
Traceback (most recent call last):
File “C:\Program Files\Python310\lib\threading.py”, line 1016, in _bootstrap_inner
self.run()
File “C:\Program Files\Python310\lib\threading.py”, line 953, in run
self._target(*self._args, **self.kwargs)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\utils\autoreload.py”, line 64, in wrapper
fn(*args, **kwargs)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\core\management\commands\runserver.py”, line 133, in inner_run
self.check(display_num_errors=True)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\core\management\base.py”, line 485, in check
all_issues = checks.run_checks(
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\core\checks\registry.py”, line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\core\checks\urls.py”, line 14, in check_url_config
return check_resolver(resolver)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\core\checks\urls.py”, line 24, in check_resolver
return check_method()
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\urls\resolvers.py”, line 494, in check
for pattern in self.url_patterns:
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\utils\functional.py”, line 57, in get
res = instance.dict[self.name] = self.func(instance)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\urls\resolvers.py”, line 715, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\utils\functional.py”, line 57, in get
res = instance.dict[self.name] = self.func(instance)
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\urls\resolvers.py”, line 708, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in call_with_frames_removed
File “Y:\data\mysite\mysite\urls.py”, line 21, in
path(“polls/”, include(“polls.urls”)),
File “C:\Users\mikea\AppData\Roaming\Python\Python310\site-packages\django\urls\conf.py”, line 38, in include
urlconf_module = import_module(urlconf_module)
File "C:\Program Files\Python310\lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘polls.urls’

Are you saying that the file name you have for your urls.py file in the polls directory is polls.urls.py? If so, that is incorrect. The file name is urls.py

No the file is polls\urls.py
Edited the post.

Now you show it as being in two directories named polls? This is also incorrect. You should have this urls.py file in your polls directory, not inside a second directory named polls inside your polls directory.

The location of the file is Y:\data\mysite\polls\polls>
Is the second polls NOT supposed to be there?
The mysite created 2 mysite directories as well.
Y:\data\mysite\mysite>
According to the startproject it creates the 2 directories?

     mysite/
    manage.py
    mysite/
        __init__.py
        settings.py
        urls.py
        asgi.py
        wsgi.py

If \data\mysite is the base directory, then there should be a mysite and a polls directory in it. There would not be a polls directory in that polls directory.

I will have to start over. Thanks for redirecting me!
I just realized/learned the difference between
python -m django startproject
and
python -m django startapp

It is working properly now.
Thank you!