Browse Source

verify Fixed django's fortunes test

Mike Smith 11 years ago
parent
commit
f9af41d094
2 changed files with 2 additions and 1 deletions
  1. 1 0
      django/hello/templates/base.html
  2. 1 1
      django/hello/world/views.py

+ 1 - 0
django/hello/templates/base.html

@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
+<title>Fortunes</title>
 </head>
 <body>
   {% block content %}{% endblock %}

+ 1 - 1
django/hello/world/views.py

@@ -52,7 +52,7 @@ def db(request):
 
 def fortunes(request):
   fortunes = list(Fortune.objects.all())
-  fortunes.append(Fortune(id=0, message="Additional message added at runtime."))
+  fortunes.append(Fortune(id=0, message="Additional fortune added at request time."))
 
   fortunes = sorted(fortunes, key=attrgetter('message'))