Kaydet (Commit) 799a3057 authored tarafından Alex Gaynor's avatar Alex Gaynor

Fixed a typo in the class based views docs, thanks to lasko for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 282e53b4
......@@ -443,7 +443,7 @@ object, so we simply override it and wrap the call::
def get_object(self):
# Call the superclass
object = super(AuthorDetailView, self).get_object()
# Record the lass accessed date
# Record the last accessed date
object.last_accessed = datetime.datetime.now()
object.save()
# Return the object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment