Ticket #7887: empty-constants.diff
File empty-constants.diff, 633 bytes (added by , 16 years ago) |
---|
-
django/template/__init__.py
487 487 var, constant, i18n_constant = match.group("var", "constant", "i18n_constant") 488 488 if i18n_constant: 489 489 var = '"%s"' % _(i18n_constant.replace(r'\"', '"')) 490 elif constant :490 elif constant is not None: 491 491 var = '"%s"' % constant.replace(r'\"', '"') 492 492 upto = match.end() 493 493 if var == None: