Switch to the new template loaders from Djblets.

Review Request #6092 — Created July 10, 2014 and submitted

Information

Review Board
release-2.0.x
3d52917...

Reviewers

This updates our list of template loaders to use the new
conditional_cached (which only caches if DEBUG = False) and
namespaced_app_dirs (which allows app module prefixes for paths).

Unit tests pass.

Had no issues using the site. Didn't see things cached when DEBUG was True.

I was able to use a prefix for an upcoming change.

Description From Last Updated

'from settings_local import *' used; unable to detect undefined names

reviewbotreviewbot

'PIPELINE_JS' imported but unused

reviewbotreviewbot

'PIPELINE_CSS' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/settings.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/settings.py
    
    
  2. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'from settings_local import *' used; unable to detect undefined names
    
  3. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'PIPELINE_JS' imported but unused
    
  4. reviewboard/settings.py (Diff revision 1)
     
     
    Show all issues
     'PIPELINE_CSS' imported but unused
    
  5. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (a6e198c)