Handle ImproperlyConfigured when trying to load the S3 backend.

Review Request #4463 — Created Aug. 19, 2013 and submitted

Information

Review Board
release-1.7.x

Reviewers

Handle ImproperlyConfigured when trying to load the S3 backend.

If django-storages is installed, but boto is not, it will raise an
ImproperlyConfigured exception when trying to do the import, which we didn't
catch. This caused the admin form to error out.
Removed the boto package from my site-packages and tried to load the file
storage settings page. When I selected "Amazon S3", saw the error message from
the exception.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/admin/checks.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/admin/checks.py
      Ignored Files:
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.7.x (c532780).
Loading...