summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2010-10-31 23:32:38 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2010-10-31 23:32:38 +0000
commit799a3057cd96670ec0bb4290549acc3721391dbe (patch)
tree51f997b0042f30aea366295ffa5d2f8dd5f23167 /docs
parent282e53b4995a6b908448d50f83b40a70ceaae808 (diff)
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
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