From 714a32aa49ad41b1a6ad03e219c2e849aab8b83b Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Mon, 17 Oct 2005 15:41:05 +0000 Subject: [PATCH] i18n: fixed a bug with the i18n template tag that crept in with the last merge - some imports where lost. git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@909 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/template/defaulttags.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index e7164b3f4b..2207682154 100644 --- a/django/core/template/defaulttags.py +++ b/django/core/template/defaulttags.py @@ -2,7 +2,10 @@ from django.core.template import Node, NodeList, Template, Context, resolve_variable, resolve_variable_with_filters, get_filters_from_token, registered_filters from django.core.template import TemplateSyntaxError, VariableDoesNotExist, BLOCK_TAG_START, BLOCK_TAG_END, VARIABLE_TAG_START, VARIABLE_TAG_END, register_tag +from django.utils import translation + import sys +import re class CommentNode(Node): def render(self, context):