# Python Adding Home Page

**URL:** https://forum.codewithmosh.com/t/python-adding-home-page/72412
**Category:** Python
**Created:** [March 26, 2026, 9:10pm UTC](https://forum.codewithmosh.com/t/python-adding-home-page/72412 "2026-03-26T21:10:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rjjski](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@rjjski](https://forum.codewithmosh.com/u/rjjski)
#### Post date: [March 26, 2026, 9:10pm UTC](https://forum.codewithmosh.com/t/python-adding-home-page/72412/1 "2026-03-26T21:10:52Z")

</div>

I have been working on completing the Python Mastery course and I’m stuck on the adding a home page section. I’m receiving a No Reverse Match error. I have gone back and double checked the code and all seems correct.  
The error:

```auto
  <a href="{% url 'movies:index' %}">View All Movies</a>

```

File name: urls.py(movies)

from django.urls import path

from . import views

app\_name = ‘movies’

urlpatterns = [

```auto
path('movies/',views.index)

```

]

File name: home.html

{% extends ‘base.html’ %}

{% block content %}

```ini
<a href="{% url 'movies:index' %}">View All Movies</a>

```

{% endblock %}

---

<div class="post-metadata">

### Author: ![rjjski](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@rjjski](https://forum.codewithmosh.com/u/rjjski)
#### Post date: [March 28, 2026, 5:56pm UTC](https://forum.codewithmosh.com/t/python-adding-home-page/72412/2 "2026-03-28T17:56:57Z")

</div>

I figured it out I add name=’index’ in the movies/urls.py file.

path(‘movies/’,views.index, name=‘index’)
