summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/class-based-views.txt2
1 files changed, 1 insertions, 1 deletions
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