# The empty path didnt match any of these

**URL:** https://forum.codewithmosh.com/t/the-empty-path-didnt-match-any-of-these/17788
**Category:** Python
**Created:** [January 19, 2023, 10:33am UTC](https://forum.codewithmosh.com/t/the-empty-path-didnt-match-any-of-these/17788 "2023-01-19T10:33:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![naazzz25](https://avatars.discourse-cdn.com/v4/letter/n/3d9bf3/32.png) [@naazzz25](https://forum.codewithmosh.com/u/naazzz25)
#### Post date: [January 19, 2023, 10:33am UTC](https://forum.codewithmosh.com/t/the-empty-path-didnt-match-any-of-these/17788/1 "2023-01-19T10:33:37Z")

</div>

hi i am doing a course of python. i am creating vidly app in django. i failed to add bootstrap so everytime i load a page it says -

# Page not found (404)

| Request Method: | GET |
| --- | --- |
| Request URL: | [http://127.0.0.1:8000/](http://127.0.0.1:8000/) |

Using the URLconf defined in `vidly.urls`, Django tried these URL patterns, in this order:

1. admin/
2. movies/base.html

The empty path didn’t match any of these.

You’re seeing this error because you have `DEBUG = True` in your Django settings file. Change that to `False`, and Django will display a standard 404 page.

how can i fix it?

---

<div class="post-metadata">

### Author: ![hanksbrad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/hanksbrad/32/5631_2.png) [@hanksbrad](https://forum.codewithmosh.com/u/hanksbrad)
#### Post date: [February 21, 2023, 4:46pm UTC](https://forum.codewithmosh.com/t/the-empty-path-didnt-match-any-of-these/17788/2 "2023-02-21T16:46:18Z")

</div>

Check your `urls.py` file to ensure that you have a valid URL pattern for the homepage (`/`). It should look something like this:

```auto
from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='home'),
    # other URL patterns
]

```

Also make sure that the views.home function exists and returns a valid response.

Is there anything keeping you from adding bootstrap? It’s pretty easy.

```auto
pip install django-bootstrap4

```

Then just add it to your settings.py file

Copy code

```auto
INSTALLED_APPS = [
    # other apps
    'bootstrap4',
]

```

Here’s a scratch pad showing you what I mean as far as installing goes. [Einblick](https://app.einblick.ai?w=63f4f4dff478adc0b1ab211a)
