# Struggling with Django Routing on CS50W Project 1: Where is My Home Link? 😩

**URL:** <https://forum.djangoproject.com/t/struggling-with-django-routing-on-cs50w-project-1-where-is-my-home-link/43036>\
**Category:** Getting Started\
**Created:** [September 30, 2025, 8:19pm UTC](https://forum.djangoproject.com/t/struggling-with-django-routing-on-cs50w-project-1-where-is-my-home-link/43036 "2025-09-30T20:19:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoyceAcacioPedro](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/joyceacaciopedro/32/30101_2.png) [@JoyceAcacioPedro](https://forum.djangoproject.com/u/JoyceAcacioPedro)\
**Post date:** [September 30, 2025, 8:19pm UTC](https://forum.djangoproject.com/t/struggling-with-django-routing-on-cs50w-project-1-where-is-my-home-link/43036/1 "2025-09-30T20:19:59Z")

</div>

I’m deep into Harvard’s Web Programming with Python and JavaScript (#CS50W) Project 1 (Wiki), and I’ve hit a major routing wall. The server is running smoothly, but two things are holding me back: my Home link is non-functional, and the list of entries isn’t appearing on the index page!

I’ve fixed syntax errors and confirmed that my views.py is passing the list of entries correctly. Yet, when I load the clean URL ([http://127.0.0.1:8000/](http://127.0.0.1:8000/)):

\* The List is Invisible: The index.html loop using {% for entry in entries %} is rendering an empty space where the encyclopedia article titles should be.

\* The Home Link is Broken: The “Home” link in my layout.html (using {% url ‘index’ %}) doesn’t navigate anywhere. This tells me my URL Configuration (urls.py) is failing to map the name ‘index’ correctly.

I suspect it’s a small, missing detail in my main wiki/urls.py include statement or a tiny mistake in the tag of the index.html loop.

Has anyone who completed CS50W or works with #Django faced this specific issue of the home link and index list failing to connect? What was the “Aha!” moment fix for your URL configuration?

Any debugging tips or structural advice is highly appreciated!

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 30, 2025, 8:35pm UTC](https://forum.djangoproject.com/t/struggling-with-django-routing-on-cs50w-project-1-where-is-my-home-link/43036/2 "2025-09-30T20:35:24Z")

</div>

In general, these types of issues are frequently caused by rather minor mistakes in any number of different areas.

For us to try and help you, we’ll need to see parts of your project. If you have the entire project available on a public repository, that would be the easiest. Otherwise, we’ll have to ask you to post various parts of it here.

Side Note: When posting code here, enclose the code between lines of three  
backtick - ` characters. This means you’ll have a line of ```, then your code,  
then another line of ```. This forces the forum software to keep your code  
properly formatted.

We can start by having you post your `urls.py` files, your `layout.html` and `index.html` templates, and your views that are supposed to render these templates.
