# Section 12 - 12- Building Web Applications with Django - Lesson 4- views: ModuleNotFoundError: No module named 'movies.urls'

**URL:** <https://forum.codewithmosh.com/t/section-12-12-building-web-applications-with-django-lesson-4-views-modulenotfounderror-no-module-named-movies-urls/12746>\
**Category:** Python\
**Created:** [May 31, 2022, 5:40am UTC](https://forum.codewithmosh.com/t/section-12-12-building-web-applications-with-django-lesson-4-views-modulenotfounderror-no-module-named-movies-urls/12746 "2022-05-31T05:40:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcsvu](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@mcsvu](https://forum.codewithmosh.com/u/mcsvu)\
**Post date:** [May 31, 2022, 5:40am UTC](https://forum.codewithmosh.com/t/section-12-12-building-web-applications-with-django-lesson-4-views-modulenotfounderror-no-module-named-movies-urls/12746/1 "2022-05-31T05:40:28Z")

</div>

This is my code in urls.py inside vidly.

```auto
from django.contrib import admin
from django.urls import path, include

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

```

This is my code inside urls.py inside movies.

```auto

from django.urls import path
from . import views

urlpatterns = [
  path('', views.index, name='index') # An empty string represents the root of this app. Pass a reference to index function. Don't call it with ().
]

```

Here is code in views.py inside app movies.

```auto
from django.shortcuts import render  
from django.http import HttpResponse

def index(request): # django uses request object so we have to pass it to function index.
  return HttpResponse("Hello World")

```

Why do I get the error shown below:

ModuleNotFoundError: No module named ‘movies.urls’

The instructor gets this erros because he forget the ‘s’ in ‘movies.urls’ and types it as ‘movies.url’ then he corrects it to ‘movies.urls’ and it works for him but it does not work for me and I still get ModuleNotFoundError: No module named ‘movies.urls’.

Here is the directory structure of the project.

 ![Screenshot 2022-05-31 at 06.39.48](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/4bb7974744b38c78ee886b24134b24d2db58ebe5.png)

Please help.

---

<div class="post-metadata">

**Author:** ![MHarten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mharten/32/4199_2.png) [@MHarten](https://forum.codewithmosh.com/u/MHarten)\
**Post date:** [July 23, 2022, 4:32pm UTC](https://forum.codewithmosh.com/t/section-12-12-building-web-applications-with-django-lesson-4-views-modulenotfounderror-no-module-named-movies-urls/12746/2 "2022-07-23T16:32:54Z")

</div>

You misspelled urls.py within movies, it shows as ulrs.py
