We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4142196 commit aa27f12Copy full SHA for aa27f12
source/django-get-started/django-create-app.txt
@@ -84,7 +84,7 @@ Create an Application
84
return HttpResponse("Hello! You've reached the Django MongoDB sample app landing page.")
85
86
def recent_movies(request):
87
- movies = Movies.objects.all().order_by('-released')[:3]
+ movies = Movies.objects.all().order_by('-released')[:5]
88
return render(request, 'recent_movies.html', {'movies': movies})
89
90
def users_list(request):
@@ -142,7 +142,7 @@ Create an Application
142
<title>Recent Movies</title>
143
</head>
144
<body>
145
- <h1>Three Most Recent Movies</h1>
+ <h1>Five Most Recent Movies</h1>
146
<ul>
147
{% for movie in movies %}
148
<li>
0 commit comments