Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a typo in the class based views docs, thanks to lasko for the r…

…eport.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 799a3057cd96670ec0bb4290549acc3721391dbe 1 parent 282e53b
Alex Gaynor alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/class-based-views.txt
2  docs/topics/class-based-views.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.