Skip to content

Commit aa27f12

Browse files
committed
edit
1 parent 4142196 commit aa27f12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/django-get-started/django-create-app.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Create an Application
8484
return HttpResponse("Hello! You've reached the Django MongoDB sample app landing page.")
8585

8686
def recent_movies(request):
87-
movies = Movies.objects.all().order_by('-released')[:3]
87+
movies = Movies.objects.all().order_by('-released')[:5]
8888
return render(request, 'recent_movies.html', {'movies': movies})
8989

9090
def users_list(request):
@@ -142,7 +142,7 @@ Create an Application
142142
<title>Recent Movies</title>
143143
</head>
144144
<body>
145-
<h1>Three Most Recent Movies</h1>
145+
<h1>Five Most Recent Movies</h1>
146146
<ul>
147147
{% for movie in movies %}
148148
<li>

0 commit comments

Comments
 (0)