'Django: UserAuthentication | ModuleNotFoundError: No module named 'userAuthentication'

I've been trying to create a user login and logout with django's bulid-in authenticated views. I changed the project-level URL pattern

urlpatterns = [
    path('admin/', admin.site.urls),
    path('accounts/',include('django.contrib.auth.urls')),
    path('', include('home.urls')),
   
]

added template registration/login.html

and updated LOGIN_REDIRECT_URL in settings.py

but still getting ModuleNotFoundError: No module named 'userAuthentication'.I don't know if I am missing anything in these it would be appreciated if anyone can give the heads up.

note: I was trying to recreate exactly this

https://docs.djangoproject.com/en/4.0/topics/auth/default/#module-django.contrib.auth.views

Installed Apps and middleware in settings.py



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source