• 
      

    Update for some moved items in django.template

    Review Request #8693 — Created Jan. 31, 2017 and submitted

    Information

    Review Board
    release-3.0.x
    eb46854...

    Reviewers

    Django moved the locations of some classes and methods within the
    django.template module. This change updates our code for the new location.

    Ran unit tests.

    Description From Last Updated

    This works on 1.6 and 1.8+?

    brenniebrennie

    Context is supposed to be from django.template for the widest compatibility.

    chipx86chipx86

    This should come from django.template.

    chipx86chipx86

    add_to_builtins doesn't exist in 1.9+. We'll need to revisit this whole file.

    chipx86chipx86
    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/notifications/webhooks.py
          reviewboard/reviews/builtin_fields.py
          reviewboard/site/templatetags/__init__.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          reviewboard/notifications/webhooks.py
          reviewboard/reviews/builtin_fields.py
          reviewboard/site/templatetags/__init__.py
      
      
    2. 
        
    brennie
    1. 
        
    2. Show all issues

      This works on 1.6 and 1.8+?

    3. 
        
    brennie
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (99bf571)
    chipx86
    1. 
        
    2. reviewboard/notifications/webhooks.py (Diff revision 1)
       
       
      Show all issues

      Context is supposed to be from django.template for the widest compatibility.

    3. reviewboard/reviews/builtin_fields.py (Diff revision 1)
       
       
      Show all issues

      This should come from django.template.

    4. Show all issues

      add_to_builtins doesn't exist in 1.9+. We'll need to revisit this whole file.

    5.