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
This commit is contained in:
Alex Gaynor 2010-10-31 23:32:38 +00:00
parent 282e53b499
commit 799a3057cd
1 changed files with 1 additions and 1 deletions

View File

@ -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