mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user