# Web building with python

**URL:** <https://forum.codewithmosh.com/t/web-building-with-python/21010>\
**Category:** Uncategorized\
**Created:** [June 22, 2023, 6:48pm UTC](https://forum.codewithmosh.com/t/web-building-with-python/21010 "2023-06-22T18:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugestel](https://avatars.discourse-cdn.com/v4/letter/e/3e96dc/32.png) [@eugestel](https://forum.codewithmosh.com/u/eugestel)\
**Post date:** [June 22, 2023, 6:48pm UTC](https://forum.codewithmosh.com/t/web-building-with-python/21010/1 "2023-06-22T18:48:12Z")

</div>

I am stuck with lesson # 16 : Getting a single object - in the Mosh python tutorial. I had been following the tutorials along , practicing in my PC successfully till now. At this point , I can’t get the kind of result Mosh is getting on refreshing the browser after the changes in “movies/views.py” and  
“movies/templates/movies/detail.html”. I have been struggling to find the problem for 3 days now without success. Please can I get any help?.

views.py:  
from django.shortcuts import render, get\_object\_or\_404  
from django.http import HttpResponse  
from .models import Movie

# Create your views here.

def index(request):  
movies = Movie.objects.all()  
return render(request, ‘movies/index.html’, {‘movies’: movies})

def detail(request, movie\_id):  
movie = get\_object\_or\_404(Movie, id=movie\_id)  
return render(request, ‘movies/detail.html’, {‘movie’: movie})

detail.html:  
% extends ‘base.html’ %}

{% block content %}

Title{{movie.title}}Genre{{movie.genre}}Stock{{movie.number\_in\_stock}}{% endblock %}

The error I get at the terminal is :

[22/Jun/2023 18:45:19] “GET /movies/ HTTP/1.1” 200 1228  
Not Found: /favicon.ico.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [June 23, 2023, 12:04am UTC](https://forum.codewithmosh.com/t/web-building-with-python/21010/2 "2023-06-23T00:04:32Z")

</div>

Hi this is a common warning. This should not be preventing your view from rendering in the browser though right?
