diff --git a/docs/topics/class-based-views.txt b/docs/topics/class-based-views.txt index 821ded63db..f0e4910c51 100644 --- a/docs/topics/class-based-views.txt +++ b/docs/topics/class-based-views.txt @@ -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