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:
parent
282e53b499
commit
799a3057cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue