Permalink
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...
1 parent da71528 commit 6f07f717c0b3cb2a849fd3533abbdc943d41e76b @adrianholovaty adrianholovaty committed Oct 4, 2005
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.