~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to django/template/__init__.py

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
"""
51
51
 
52
52
# Template lexing symbols
53
 
from django.template.base import (ALLOWED_VARIABLE_CHARS, BLOCK_TAG_END,
 
53
from django.template.base import (ALLOWED_VARIABLE_CHARS, BLOCK_TAG_END,  # NOQA
54
54
    BLOCK_TAG_START, COMMENT_TAG_END, COMMENT_TAG_START,
55
55
    FILTER_ARGUMENT_SEPARATOR, FILTER_SEPARATOR, SINGLE_BRACE_END,
56
56
    SINGLE_BRACE_START, TOKEN_BLOCK, TOKEN_COMMENT, TOKEN_TEXT, TOKEN_VAR,
58
58
    VARIABLE_TAG_END, VARIABLE_TAG_START, filter_re, tag_re)
59
59
 
60
60
# Exceptions
61
 
from django.template.base import (ContextPopException, InvalidTemplateLibrary,
 
61
from django.template.base import (ContextPopException, InvalidTemplateLibrary,  # NOQA
62
62
    TemplateDoesNotExist, TemplateEncodingError, TemplateSyntaxError,
63
63
    VariableDoesNotExist)
64
64
 
65
65
# Template parts
66
 
from django.template.base import (Context, FilterExpression, Lexer, Node,
 
66
from django.template.base import (Context, FilterExpression, Lexer, Node,  # NOQA
67
67
    NodeList, Parser, RequestContext, Origin, StringOrigin, Template,
68
68
    TextNode, Token, TokenParser, Variable, VariableNode, constant_string,
69
69
    filter_raw_string)
70
70
 
71
71
# Compiling templates
72
 
from django.template.base import (compile_string, resolve_variable,
 
72
from django.template.base import (compile_string, resolve_variable,  # NOQA
73
73
    unescape_string_literal, generic_tag_compiler)
74
74
 
75
75
# Library management
76
 
from django.template.base import (Library, add_to_builtins, builtins,
 
76
from django.template.base import (Library, add_to_builtins, builtins,  # NOQA
77
77
    get_library, get_templatetags_modules, get_text_list, import_library,
78
78
    libraries)
79
79