Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #591 -- fixed typo in docs/templates_python.txt. Thanks, Boffbowsh

git-svn-id: http://code.djangoproject.com/svn/django/trunk@771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6f07f717c0b3cb2a849fd3533abbdc943d41e76b 1 parent da71528
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/templates_python.txt
View
2  docs/templates_python.txt
@@ -267,7 +267,7 @@ every template automatic access to the current time, use something like this::
from django.core.template import Context
import datetime
- class TimeContext(template.Context):
+ class TimeContext(Context):
def __init__(self, *args, **kwargs):
Context.__init__(self, *args, **kwargs)
self['current_time'] = datetime.datetime.now()

0 comments on commit 6f07f71

Please sign in to comment.
Something went wrong with that request. Please try again.