Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Reset state ready for new template

        def before_new_template(force_new_urls):
    """Reset state ready for new template"""
    global new_style_url_tag, error_on_old_style_url_tag, errors
    new_style_url_tag = False
    error_on_old_style_url_tag = force_new_urls
    errors = []
        


src/r/o/rolf-HEAD/ve/lib/python2.7/site-packages/django_extensions/management/commands/validate_templates.py   rolf(Download)
                    if verbosity > 1:
                        print(filepath)
                    validatingtemplatetags.before_new_template(options.get('force_new_urls', False))
                    try:
                        template_loader.load_template(filename, [root])

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/django_extensions/management/commands/validate_templates.py   antisocial(Download)
                    if verbosity > 1:
                        print(filepath)
                    validatingtemplatetags.before_new_template(options.get('force_new_urls', False))
                    try:
                        template_loader.load_template(filename, [root])

src/d/j/django-extensions-1.3.3/django_extensions/management/commands/validate_templates.py   django-extensions(Download)
                    if verbosity > 1:
                        print(filepath)
                    validatingtemplatetags.before_new_template(options.get('force_new_urls', False))
                    try:
                        template_loader.load_template(filename, [root])

src/d/j/django-extensions-HEAD/django_extensions/management/commands/validate_templates.py   django-extensions(Download)
                    if verbosity > 1:
                        print(filepath)
                    validatingtemplatetags.before_new_template(options.get('force_new_urls', False))
                    try:
                        template_loader.load_template(filename, [root])