summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates_python.txt')
-rw-r--r--docs/templates_python.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index 63b734dc44..39b768429b 100644
--- a/docs/templates_python.txt
+++ b/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()