Fixed the cached extensions issue.Previously newly installed/removed extensions required re-starting Django. This fix, forces flushing the extension cache everytime the extension list view is called upon & any updates are reflected.

Review Request #3769 — Created Jan. 19, 2013 and discarded

Information

Djblets
master

Reviewers

Fixed the cached extensions issue.Previously newly installed/removed extensions required re-starting Django. This fix, forces flushing the extension cache everytime the extension list view is called upon & any updates are reflected.
Installed and removed ReviewBot extension on the original codebase. On both instances, the plugin didn't show up on a page refresh at /admin/extensions until Django was restarted. Forcing the cache to be flushed, makes the removal or addition of extension show up on a page refresh now.

Units tests are okay as well.
Description From Last Updated

Col: 72 W291 trailing whitespace

reviewbotreviewbot
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/extensions/views.py
      Ignored Files:
    
    
  2. djblets/extensions/views.py (Diff revision 1)
     
     
    Show all issues
    Col: 72
     W291 trailing whitespace
    
  3. 
      
AY
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        djblets/extensions/views.py
      Ignored Files:
    
    
  2. 
      
AY
AY
Review request changed
Status:
Discarded